Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009867, allocations: 103.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009216, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 11.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7017, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2065/0.9082, allocations: 196.6 MB / 1.146 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.9199, allocations: 7.205 MB / 1.153 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.9218, allocations: 43.69 kB / 1.153 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.9244, allocations: 0.6688 MB / 1.153 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.9303, allocations: 1.939 MB / 1.155 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.9344, allocations: 1.539 MB / 1.157 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.9364, allocations: 1.159 MB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.9373, allocations: 0.621 MB / 1.158 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.9395, allocations: 1.176 MB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.9401, allocations: 470.2 kB / 1.16 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.9402, allocations: 44 kB / 1.16 GB, free: 12.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.9416, allocations: 0.6084 MB / 1.161 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.9418, allocations: 239.3 kB / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.942, allocations: 189.3 kB / 1.161 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.9429, allocations: 0.9429 MB / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.9429, allocations: 0 / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.943, allocations: 0 / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.943, allocations: 0 / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001813/0.9448, allocations: 1.09 MB / 1.163 GB, free: 9.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9448, allocations: 8.031 kB / 1.163 GB, free: 9.137 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.9449, allocations: 90.52 kB / 1.163 GB, free: 9.039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.9466, allocations: 294.6 kB / 1.163 GB, free: 8.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.9477, allocations: 0.6249 MB / 1.164 GB, free: 8.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.9477, allocations: 41 kB / 1.164 GB, free: 8.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.9478, allocations: 52 kB / 1.164 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.9488, allocations: 0.6036 MB / 1.165 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.9488, allocations: 3.953 kB / 1.165 GB, free: 7.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.9489, allocations: 20 kB / 1.165 GB, free: 7.355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.9489, allocations: 12 kB / 1.165 GB, free: 7.344 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.95, allocations: 0.6168 MB / 1.165 GB, free: 6.727 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.9533, allocations: 2.697 MB / 1.168 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.954, allocations: 407.3 kB / 1.168 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.9543, allocations: 141.4 kB / 1.169 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.9544, allocations: 42.83 kB / 1.169 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006189/0.955, allocations: 195.4 kB / 1.169 GB, free: 2.977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.955, allocations: 0 / 1.169 GB, free: 2.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.001698/0.9567, allocations: 0.8259 MB / 1.17 GB, free: 2.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.9568, allocations: 55.41 kB / 1.17 GB, free: 2.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.9575, allocations: 0.6884 MB / 1.17 GB, free: 1.383 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.9576, allocations: 33.7 kB / 1.17 GB, free: 1.344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.9578, allocations: 364.3 kB / 1.171 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.9579, allocations: 130 kB / 1.171 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.958, allocations: 12 kB / 1.171 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.9581, allocations: 326 kB / 1.171 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.9585, allocations: 208.6 kB / 1.171 GB, free: 320 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.959, allocations: 304.8 kB / 1.172 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.9594, allocations: 247.5 kB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9594, allocations: 3.953 kB / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00106/0.9605, allocations: 0.6096 MB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.9605, allocations: 8 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9605, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.9605, allocations: 7.984 kB / 1.172 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.9611, allocations: 107.8 kB / 1.173 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.9611, allocations: 8 kB / 1.173 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.9617, allocations: 67.84 kB / 1.173 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.9617, allocations: 23.98 kB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.962, allocations: 217.7 kB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.9621, allocations: 87 kB / 1.173 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.9634, allocations: 0.6531 MB / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.9634, allocations: 4 kB / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9634, allocations: 0 / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.9634, allocations: 7.984 kB / 1.174 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.9658, allocations: 1.512 MB / 1.175 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9658, allocations: 4 kB / 1.175 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.9662, allocations: 91.83 kB / 1.175 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.9663, allocations: 11.98 kB / 1.175 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.9663, allocations: 8 kB / 1.175 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.9663, allocations: 11.95 kB / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9663, allocations: 256 / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.968, allocations: 1.199 MB / 1.176 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.9683, allocations: 200.1 kB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.9684, allocations: 12 kB / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.9689, allocations: 63.8 kB / 1.177 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.969, allocations: 35.89 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.9691, allocations: 20 kB / 1.177 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005746/0.9696, allocations: 494.9 kB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9697, allocations: 0 / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006167/0.9703, allocations: 195.7 kB / 1.177 GB, free: 9.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002406/0.9727, allocations: 2.763 MB / 1.18 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009925/0.9737, allocations: 0.4954 MB / 1.18 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9737, allocations: 4 kB / 1.18 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.9742, allocations: 276.7 kB / 1.181 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.9765, allocations: 0.493 MB / 1.181 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.9878, allocations: 5.605 MB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.9885, allocations: 0.9769 MB / 1.188 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008616/0.9893, allocations: 174.4 kB / 1.188 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.9898, allocations: 287.3 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/0.9898, allocations: 0 / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/1.026, allocations: 21.97 MB / 1.21 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/1.027, allocations: 251.1 kB / 1.21 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.183, allocations: 0 / 1.21 GB, free: 8.637 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat does not exist to compare? outputFormat=mat