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.282/2.282, allocations: 390.3 MB / 405.3 MB, free: 13.39 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.001121/0.001121, allocations: 171.4 kB / 498.1 MB, free: 5.68 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.435/1.435, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.00087/0.0008701, allocations: 100.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 15 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.885/4.161, allocations: 1.739 GB / 2.962 GB, free: 245.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/4.161, allocations: 113.4 kB / 2.962 GB, free: 245.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2933/4.455, allocations: 156.6 MB / 3.115 GB, free: 101.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/4.455, allocations: 0 / 3.115 GB, free: 101.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002987/4.455, allocations: 32 kB / 3.115 GB, free: 101.8 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.008615/4.464, allocations: 3.076 MB / 3.118 GB, free: 98.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/4.464, allocations: 8.031 kB / 3.118 GB, free: 98.59 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000628/4.464, allocations: 98.52 kB / 3.118 GB, free: 98.48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02316/4.487, allocations: 2.927 MB / 3.121 GB, free: 95.55 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006977/4.494, allocations: 2.874 MB / 3.124 GB, free: 92.62 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004943/4.495, allocations: 202.5 kB / 3.124 GB, free: 92.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/4.496, allocations: 59.95 kB / 3.124 GB, free: 92.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009909/4.506, allocations: 3.57 MB / 3.127 GB, free: 88.76 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/4.506, allocations: 0 / 3.127 GB, free: 88.76 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/4.506, allocations: 20 kB / 3.127 GB, free: 88.74 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/4.506, allocations: 12 kB / 3.127 GB, free: 88.73 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/4.521, allocations: 5.445 MB / 3.133 GB, free: 83.28 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/4.543, allocations: 8.806 MB / 3.141 GB, free: 74.39 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/4.564, allocations: 5.783 MB / 3.147 GB, free: 68.59 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/4.564, allocations: 24.53 kB / 3.147 GB, free: 68.57 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008422/4.572, allocations: 3.296 MB / 3.15 GB, free: 65.25 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 3.607e-06/4.572, allocations: 0 / 3.15 GB, free: 65.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.0469/4.619, allocations: 9.659 MB / 3.16 GB, free: 55.51 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/4.619, allocations: 97.77 kB / 3.16 GB, free: 55.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007981/4.627, allocations: 4.194 MB / 3.164 GB, free: 51.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008379/4.628, allocations: 65.62 kB / 3.164 GB, free: 51.12 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/4.63, allocations: 1.006 MB / 3.165 GB, free: 50.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007335/4.63, allocations: 236.6 kB / 3.165 GB, free: 49.87 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/4.631, allocations: 16 kB / 3.165 GB, free: 49.86 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001187/4.631, allocations: 349.9 kB / 3.165 GB, free: 49.51 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00815/4.639, allocations: 3.075 MB / 3.168 GB, free: 46.43 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008027/4.647, allocations: 3.106 MB / 3.171 GB, free: 43.31 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/4.655, allocations: 2.641 MB / 3.174 GB, free: 40.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/4.655, allocations: 0 / 3.174 GB, free: 40.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03736/4.692, allocations: 7.809 MB / 3.182 GB, free: 32.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002453/4.692, allocations: 389 kB / 3.182 GB, free: 32.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/4.692, allocations: 0 / 3.182 GB, free: 32.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004363/4.697, allocations: 1.047 MB / 3.183 GB, free: 31.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/4.701, allocations: 0.6514 MB / 3.184 GB, free: 30.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/4.706, allocations: 4.906 MB / 3.188 GB, free: 25.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00576/4.711, allocations: 0.5807 MB / 3.189 GB, free: 24.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007973/4.712, allocations: 151.9 kB / 3.189 GB, free: 24.75 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/4.712, allocations: 4 kB / 3.189 GB, free: 24.75 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03505/4.747, allocations: 7.548 MB / 3.197 GB, free: 17.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/4.747, allocations: 4 kB / 3.197 GB, free: 17.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/4.751, allocations: 0.9141 MB / 3.197 GB, free: 16.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/4.755, allocations: 0.6553 MB / 3.198 GB, free: 15.57 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/4.762, allocations: 8.648 MB / 3.207 GB, free: 6.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/4.768, allocations: 0.5731 MB / 3.207 GB, free: 5.656 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00075/4.769, allocations: 155.8 kB / 3.207 GB, free: 5.504 MB / 1.167 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 () * Number of clocked 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.002809/4.772, allocations: 1.162 MB / 3.208 GB, free: 4.324 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/4.773, allocations: 264.7 kB / 3.209 GB, free: 4.062 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7084/5.481, allocations: 6.859 MB / 3.215 GB, free: 373.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/5.481, allocations: 7.719 kB / 3.215 GB, free: 373.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/5.481, allocations: 0.5625 kB / 3.215 GB, free: 373.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/5.481, allocations: 7.922 kB / 3.215 GB, free: 373.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007745/5.489, allocations: 3.587 MB / 3.219 GB, free: 373.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/5.489, allocations: 1.844 kB / 3.219 GB, free: 373.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004577/5.494, allocations: 0.6101 MB / 3.219 GB, free: 373.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/5.495, allocations: 250.5 kB / 3.22 GB, free: 373.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005187/5.496, allocations: 76.31 kB / 3.22 GB, free: 373.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/5.498, allocations: 2.196 MB / 3.222 GB, free: 371.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/5.498, allocations: 0 / 3.222 GB, free: 371.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03718/5.536, allocations: 6.521 MB / 3.228 GB, free: 371.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003791/5.539, allocations: 1.126 MB / 3.229 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/5.54, allocations: 63.94 kB / 3.229 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005195/5.546, allocations: 0.5472 MB / 3.23 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/5.546, allocations: 80.11 kB / 3.23 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003463/5.546, allocations: 143 kB / 3.23 GB, free: 371.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006108/5.552, allocations: 3.215 MB / 3.233 GB, free: 371 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/5.552, allocations: 1.188 kB / 3.233 GB, free: 371 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005526/5.558, allocations: 1.136 MB / 3.234 GB, free: 370.9 MB / 1.167 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]) * Number of clocked states: 0 () * 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.02333/5.581, allocations: 7.153 MB / 3.241 GB, free: 370.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02746/5.609, allocations: 10.73 MB / 3.252 GB, free: 369.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/5.609, allocations: 1.562 kB / 3.252 GB, free: 369.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008233/5.617, allocations: 2.903 MB / 3.255 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/5.621, allocations: 0.6328 MB / 3.255 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/5.643, allocations: 9.82 MB / 3.265 GB, free: 366.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/5.645, allocations: 2.136 MB / 3.267 GB, free: 365.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004984/5.65, allocations: 1.425 MB / 3.268 GB, free: 365.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/5.652, allocations: 0.9212 MB / 3.269 GB, free: 365.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.396e-06/5.652, allocations: 0 / 3.269 GB, free: 365.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/5.781, allocations: 100.9 MB / 3.368 GB, free: 300.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/5.781, allocations: 266.7 kB / 3.368 GB, free: 299.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.103/10.88, allocations: 1.969 kB / 3.368 GB, free: 299.7 MB / 1.167 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