Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00201/0.00201, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001173/0.001174, allocations: 103.2 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.101e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3336, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.855/5.189, allocations: 1.74 GB / 2.958 GB, free: 74.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/5.189, allocations: 104.8 kB / 2.958 GB, free: 74.08 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.297/6.487, allocations: 156.4 MB / 3.111 GB, free: 323.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.335e-06/6.487, allocations: 0 / 3.111 GB, free: 323.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004509/6.487, allocations: 31.16 kB / 3.111 GB, free: 323.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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.009806/6.497, allocations: 2.23 MB / 3.113 GB, free: 322 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/6.497, allocations: 11.62 kB / 3.113 GB, free: 322 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008324/6.498, allocations: 95.27 kB / 3.114 GB, free: 322 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02359/6.521, allocations: 2.926 MB / 3.116 GB, free: 320.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008869/6.53, allocations: 2.833 MB / 3.119 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000783/6.531, allocations: 196 kB / 3.119 GB, free: 319.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008551/6.532, allocations: 60.62 kB / 3.119 GB, free: 319.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005175/6.537, allocations: 2.633 MB / 3.122 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/6.537, allocations: 3.719 kB / 3.122 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/6.538, allocations: 17.94 kB / 3.122 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/6.538, allocations: 15.67 kB / 3.122 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004902/6.543, allocations: 3.587 MB / 3.126 GB, free: 318.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/6.566, allocations: 8.821 MB / 3.134 GB, free: 315.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/6.576, allocations: 4.001 MB / 3.138 GB, free: 314.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/6.579, allocations: 1.617 MB / 3.14 GB, free: 314.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/6.579, allocations: 29.86 kB / 3.14 GB, free: 314.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003779/6.583, allocations: 2.368 MB / 3.142 GB, free: 314 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.298e-06/6.583, allocations: 0 / 3.142 GB, free: 314 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02531/6.608, allocations: 4.68 MB / 3.147 GB, free: 311.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/6.608, allocations: 105.4 kB / 3.147 GB, free: 311.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/6.619, allocations: 4.137 MB / 3.151 GB, free: 309.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/6.62, allocations: 65.19 kB / 3.151 GB, free: 309.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/6.622, allocations: 1.003 MB / 3.152 GB, free: 308.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009505/6.623, allocations: 237.2 kB / 3.152 GB, free: 308.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006713/6.624, allocations: 18.75 kB / 3.152 GB, free: 308.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001699/6.624, allocations: 341.7 kB / 3.152 GB, free: 307.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/6.627, allocations: 2.139 MB / 3.154 GB, free: 306.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/6.63, allocations: 2.177 MB / 3.156 GB, free: 305.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/6.632, allocations: 1.754 MB / 3.158 GB, free: 304.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/6.632, allocations: 0 / 3.158 GB, free: 304.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02404/6.656, allocations: 5.966 MB / 3.164 GB, free: 301.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/6.657, allocations: 395.2 kB / 3.164 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/6.657, allocations: 0 / 3.164 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/6.661, allocations: 0.9921 MB / 3.165 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/6.666, allocations: 0.6541 MB / 3.166 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/6.67, allocations: 4.831 MB / 3.171 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006356/6.677, allocations: 0.5792 MB / 3.171 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/6.678, allocations: 151.3 kB / 3.171 GB, free: 295.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/6.678, allocations: 3.594 kB / 3.171 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02338/6.701, allocations: 5.706 MB / 3.177 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/6.701, allocations: 0 / 3.177 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/6.705, allocations: 0.8862 MB / 3.178 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/6.71, allocations: 0.6528 MB / 3.179 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007426/6.717, allocations: 8.51 MB / 3.187 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/6.724, allocations: 0.5723 MB / 3.187 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/6.725, allocations: 148.5 kB / 3.188 GB, free: 283.4 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 () * 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.0009711/6.726, allocations: 196.9 kB / 3.188 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/6.727, allocations: 251.1 kB / 3.188 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/6.75, allocations: 5.045 MB / 3.193 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/6.75, allocations: 3.844 kB / 3.193 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/6.75, allocations: 3.844 kB / 3.193 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/6.75, allocations: 7.984 kB / 3.193 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008965/6.759, allocations: 3.589 MB / 3.196 GB, free: 277.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/6.759, allocations: 0 / 3.196 GB, free: 277.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004696/6.764, allocations: 0.619 MB / 3.197 GB, free: 277.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009398/6.765, allocations: 206.5 kB / 3.197 GB, free: 277.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007811/6.766, allocations: 72.44 kB / 3.197 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/6.768, allocations: 2.134 MB / 3.199 GB, free: 275.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/6.768, allocations: 0 / 3.199 GB, free: 275.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/6.793, allocations: 4.683 MB / 3.204 GB, free: 272.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004048/6.797, allocations: 1.123 MB / 3.205 GB, free: 272 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/6.799, allocations: 63.31 kB / 3.205 GB, free: 272 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006185/6.805, allocations: 0.5507 MB / 3.206 GB, free: 271.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005498/6.806, allocations: 80.66 kB / 3.206 GB, free: 271.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007481/6.806, allocations: 139.9 kB / 3.206 GB, free: 271.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007315/6.814, allocations: 3.17 MB / 3.209 GB, free: 268.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.51e-07/6.814, allocations: 0 / 3.209 GB, free: 268.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008007/6.822, allocations: 1.136 MB / 3.21 GB, free: 267.2 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]) * 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.01277/6.835, allocations: 5.314 MB / 3.215 GB, free: 261.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01287/6.847, allocations: 8.045 MB / 3.223 GB, free: 253.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/6.848, allocations: 4 kB / 3.223 GB, free: 253.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002907/6.85, allocations: 1.966 MB / 3.225 GB, free: 251.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/6.854, allocations: 0.6299 MB / 3.226 GB, free: 251 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/6.872, allocations: 6.753 MB / 3.232 GB, free: 244.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/6.873, allocations: 2.134 MB / 3.234 GB, free: 242.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009062/6.882, allocations: 2.868 MB / 3.237 GB, free: 239.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/6.885, allocations: 0.8779 MB / 3.238 GB, free: 238.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/6.885, allocations: 4 kB / 3.238 GB, free: 238.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1701/7.055, allocations: 107.2 MB / 3.343 GB, free: 131.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/7.055, allocations: 249.8 kB / 3.343 GB, free: 130.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.782/12.84, allocations: 1.406 kB / 3.343 GB, free: 130.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat does not exist to compare? outputFormat=mat