Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",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.267/2.267, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001617/0.001617, allocations: 169 kB / 492.3 MB, free: 0.6367 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.567/1.567, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009399/0.0009398, allocations: 108.1 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.269e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2876, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.063/5.35, allocations: 1.739 GB / 2.951 GB, free: 100.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/5.35, allocations: 104.1 kB / 2.951 GB, free: 100.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.038/6.389, allocations: 156.4 MB / 3.104 GB, free: 377.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/6.389, allocations: 3.688 kB / 3.104 GB, free: 377.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002585/6.389, allocations: 36.64 kB / 3.104 GB, free: 377.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.005948/6.395, allocations: 2.222 MB / 3.106 GB, free: 376.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/6.395, allocations: 7.781 kB / 3.106 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004053/6.395, allocations: 101.3 kB / 3.106 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/6.419, allocations: 2.931 MB / 3.109 GB, free: 376.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007383/6.426, allocations: 2.827 MB / 3.112 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/6.427, allocations: 207.7 kB / 3.112 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000672/6.427, allocations: 55.61 kB / 3.112 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/6.432, allocations: 2.633 MB / 3.115 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/6.432, allocations: 0 / 3.115 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/6.432, allocations: 27.36 kB / 3.115 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/6.432, allocations: 10.38 kB / 3.115 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/6.437, allocations: 3.581 MB / 3.118 GB, free: 372.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/6.459, allocations: 8.809 MB / 3.127 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009947/6.469, allocations: 4.012 MB / 3.131 GB, free: 367.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/6.471, allocations: 1.624 MB / 3.132 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/6.472, allocations: 25.33 kB / 3.132 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003643/6.475, allocations: 2.361 MB / 3.135 GB, free: 366.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.298e-06/6.475, allocations: 0 / 3.135 GB, free: 366.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02308/6.498, allocations: 4.686 MB / 3.139 GB, free: 363.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/6.498, allocations: 99.88 kB / 3.139 GB, free: 363.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/6.507, allocations: 4.141 MB / 3.144 GB, free: 361.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008917/6.508, allocations: 64.97 kB / 3.144 GB, free: 361.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/6.509, allocations: 1.008 MB / 3.145 GB, free: 360.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007076/6.51, allocations: 234.9 kB / 3.145 GB, free: 360.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005838/6.51, allocations: 18.19 kB / 3.145 GB, free: 360.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000148/6.511, allocations: 339.4 kB / 3.145 GB, free: 360 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/6.514, allocations: 2.142 MB / 3.147 GB, free: 358.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/6.516, allocations: 2.176 MB / 3.149 GB, free: 357.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/6.519, allocations: 1.749 MB / 3.151 GB, free: 356.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/6.519, allocations: 3 kB / 3.151 GB, free: 356.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0237/6.543, allocations: 5.97 MB / 3.157 GB, free: 351.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/6.543, allocations: 393 kB / 3.157 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/6.543, allocations: 4 kB / 3.157 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/6.547, allocations: 0.9921 MB / 3.158 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/6.552, allocations: 0.6553 MB / 3.159 GB, free: 349.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/6.556, allocations: 4.822 MB / 3.164 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005609/6.561, allocations: 0.5847 MB / 3.164 GB, free: 343.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008576/6.562, allocations: 151.9 kB / 3.164 GB, free: 343.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/6.562, allocations: 4 kB / 3.164 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02269/6.585, allocations: 5.706 MB / 3.17 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/6.585, allocations: 7.938 kB / 3.17 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/6.588, allocations: 0.8829 MB / 3.171 GB, free: 336.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/6.593, allocations: 0.6476 MB / 3.171 GB, free: 335.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/6.599, allocations: 8.513 MB / 3.18 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/6.605, allocations: 0.5653 MB / 3.18 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008389/6.606, allocations: 147.9 kB / 3.18 GB, free: 326 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001223/6.607, allocations: 203.9 kB / 3.181 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/6.608, allocations: 252.8 kB / 3.181 GB, free: 325.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/6.63, allocations: 5.052 MB / 3.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/6.63, allocations: 8 kB / 3.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/6.63, allocations: 0 / 3.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/6.63, allocations: 3.984 kB / 3.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006829/6.637, allocations: 3.597 MB / 3.189 GB, free: 316.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/6.637, allocations: 4 kB / 3.189 GB, free: 316.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004158/6.642, allocations: 0.6125 MB / 3.19 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008904/6.642, allocations: 209.5 kB / 3.19 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005606/6.643, allocations: 79.88 kB / 3.19 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/6.645, allocations: 2.123 MB / 3.192 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/6.645, allocations: 0 / 3.192 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/6.667, allocations: 4.685 MB / 3.197 GB, free: 308.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003782/6.671, allocations: 1.122 MB / 3.198 GB, free: 307.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/6.673, allocations: 59.97 kB / 3.198 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005847/6.679, allocations: 0.5617 MB / 3.199 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/6.679, allocations: 80.66 kB / 3.199 GB, free: 307.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006444/6.68, allocations: 139.9 kB / 3.199 GB, free: 307 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.007406/6.687, allocations: 3.162 MB / 3.202 GB, free: 303.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.51e-07/6.687, allocations: 0 / 3.202 GB, free: 303.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006491/6.694, allocations: 1.144 MB / 3.203 GB, free: 302.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/6.706, allocations: 5.291 MB / 3.208 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01306/6.719, allocations: 8.049 MB / 3.216 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.719, allocations: 0 / 3.216 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/6.722, allocations: 1.974 MB / 3.218 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/6.726, allocations: 0.6326 MB / 3.218 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/6.743, allocations: 6.756 MB / 3.225 GB, free: 279.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/6.745, allocations: 2.134 MB / 3.227 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.008997/6.754, allocations: 2.864 MB / 3.23 GB, free: 274.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/6.756, allocations: 0.8818 MB / 3.231 GB, free: 273.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/6.756, allocations: 0 / 3.231 GB, free: 273.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/6.901, allocations: 107.2 MB / 3.336 GB, free: 166.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/6.901, allocations: 242.4 kB / 3.336 GB, free: 166.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.439/12.34, allocations: 0 / 3.336 GB, free: 166.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat does not exist to compare? outputFormat=mat