Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.001461, allocations: 177.7 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.1 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009921/0.0009924, allocations: 100.3 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.396, allocations: 401.5 MB / 1.615 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.397, allocations: 87.2 kB / 1.615 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.413/4.809, allocations: 0.9548 GB / 2.57 GB, free: 202.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.825e-06/4.809, allocations: 0 / 2.57 GB, free: 202.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002841/4.81, allocations: 57.48 kB / 2.57 GB, free: 202.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006614/4.816, allocations: 2.182 MB / 2.572 GB, free: 200.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/4.816, allocations: 10.44 kB / 2.572 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005798/4.817, allocations: 156.5 kB / 2.572 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/4.82, allocations: 0.6068 MB / 2.573 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/4.825, allocations: 1.445 MB / 2.574 GB, free: 198 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.994e-05/4.825, allocations: 78 kB / 2.574 GB, free: 198 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/4.826, allocations: 112 kB / 2.574 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/4.829, allocations: 1.362 MB / 2.576 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/4.829, allocations: 4.344 kB / 2.576 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/4.829, allocations: 47.67 kB / 2.576 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/4.829, allocations: 29.78 kB / 2.576 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/4.833, allocations: 1.273 MB / 2.577 GB, free: 195.1 MB / 1.167 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.009153/4.842, allocations: 6.408 MB / 2.583 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/4.845, allocations: 1.286 MB / 2.585 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/4.846, allocations: 2.264 MB / 2.587 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/4.848, allocations: 0.8492 MB / 2.588 GB, free: 183.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 5.16e-06/4.848, allocations: 0 / 2.588 GB, free: 183.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005295/4.853, allocations: 2.494 MB / 2.59 GB, free: 180.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/4.853, allocations: 149.5 kB / 2.59 GB, free: 180.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/4.855, allocations: 1.034 MB / 2.591 GB, free: 179.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/4.855, allocations: 45.7 kB / 2.591 GB, free: 179.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/4.856, allocations: 0.6963 MB / 2.592 GB, free: 178.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/4.856, allocations: 326.7 kB / 2.592 GB, free: 178.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/4.856, allocations: 24 kB / 2.592 GB, free: 178.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/4.856, allocations: 341.9 kB / 2.593 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/4.858, allocations: 0.5803 MB / 2.593 GB, free: 177.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/4.859, allocations: 0.8282 MB / 2.594 GB, free: 176.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/4.861, allocations: 0.7076 MB / 2.595 GB, free: 176.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/4.861, allocations: 0 / 2.595 GB, free: 176.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003965/4.865, allocations: 1.821 MB / 2.596 GB, free: 174.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004176/4.865, allocations: 1.709 MB / 2.598 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/4.865, allocations: 4 kB / 2.598 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.674e-05/4.865, allocations: 15.94 kB / 2.598 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/4.866, allocations: 279.6 kB / 2.598 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/4.866, allocations: 15.97 kB / 2.598 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/4.868, allocations: 236.3 kB / 2.599 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/4.869, allocations: 63.97 kB / 2.599 GB, free: 171.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/4.869, allocations: 4 kB / 2.599 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003483/4.872, allocations: 1.718 MB / 2.6 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/4.872, allocations: 4 kB / 2.6 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/4.872, allocations: 8 kB / 2.6 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/4.873, allocations: 284.1 kB / 2.601 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/4.873, allocations: 15.94 kB / 2.601 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/4.875, allocations: 227 kB / 2.601 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/4.875, allocations: 59.97 kB / 2.601 GB, free: 169.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0009762/4.876, allocations: 497.3 kB / 2.601 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/4.877, allocations: 162.1 kB / 2.602 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/4.882, allocations: 2.384 MB / 2.604 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/4.882, allocations: 15.98 kB / 2.604 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/4.882, allocations: 7.953 kB / 2.604 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/4.882, allocations: 3.984 kB / 2.604 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/4.889, allocations: 3.748 MB / 2.608 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/4.889, allocations: 0 / 2.608 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/4.89, allocations: 235.8 kB / 2.608 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/4.89, allocations: 4 kB / 2.608 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/4.89, allocations: 39.97 kB / 2.608 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/4.89, allocations: 4 kB / 2.608 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.89, allocations: 0 / 2.608 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/4.896, allocations: 3.253 MB / 2.611 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/4.897, allocations: 410.2 kB / 2.611 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/4.898, allocations: 28 kB / 2.612 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/4.899, allocations: 167.8 kB / 2.612 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/4.9, allocations: 76.75 kB / 2.612 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/4.9, allocations: 51.97 kB / 2.612 GB, free: 158.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001639/4.901, allocations: 0.8103 MB / 2.613 GB, free: 157.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.901, allocations: 0 / 2.613 GB, free: 157.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003704/4.905, allocations: 0.9186 MB / 2.613 GB, free: 156.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.008077/4.913, allocations: 4.908 MB / 2.618 GB, free: 151.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005172/4.918, allocations: 2.759 MB / 2.621 GB, free: 148.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/4.918, allocations: 0 / 2.621 GB, free: 148.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/4.92, allocations: 1.085 MB / 2.622 GB, free: 147.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/4.924, allocations: 0.5968 MB / 2.623 GB, free: 147.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/4.944, allocations: 12.81 MB / 2.635 GB, free: 133.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/4.945, allocations: 1.313 MB / 2.636 GB, free: 132.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00189/4.947, allocations: 407.2 kB / 2.637 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009543/4.948, allocations: 0.6632 MB / 2.637 GB, free: 131.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/4.948, allocations: 0 / 2.637 GB, free: 131.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08166/5.03, allocations: 50.04 MB / 2.686 GB, free: 82.54 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/5.03, allocations: 233.1 kB / 2.687 GB, free: 82.29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/9.148, allocations: 0 / 2.687 GB, free: 82.29 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat