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.409/2.409, allocations: 390.5 MB / 398 MB, free: 10.96 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.001625/0.001625, allocations: 180.8 kB / 491.2 MB, free: 1.602 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.857/1.857, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001285/0.001285, allocations: 99.86 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.098e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.486/4.797, allocations: 1.739 GB / 2.951 GB, free: 125 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/4.797, allocations: 108.9 kB / 2.951 GB, free: 124.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9692/5.766, allocations: 140.1 MB / 3.088 GB, free: 369.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/5.766, allocations: 4.766 kB / 3.088 GB, free: 369.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001688/5.766, allocations: 31.62 kB / 3.088 GB, free: 369.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.007527/5.774, allocations: 2.228 MB / 3.09 GB, free: 368.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/5.774, allocations: 9.125 kB / 3.09 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02482/5.799, allocations: 2.927 MB / 3.093 GB, free: 368.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007901/5.807, allocations: 2.83 MB / 3.096 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/5.807, allocations: 176 kB / 3.096 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/5.808, allocations: 37.92 kB / 3.096 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005621/5.813, allocations: 3.551 MB / 3.1 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00407/5.817, allocations: 2.574 MB / 3.102 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/5.817, allocations: 1.406 kB / 3.102 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/5.818, allocations: 5.125 kB / 3.102 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/5.818, allocations: 15.45 kB / 3.102 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/5.841, allocations: 8.695 MB / 3.111 GB, free: 367.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/5.853, allocations: 3.975 MB / 3.115 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/5.856, allocations: 1.598 MB / 3.116 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/5.856, allocations: 26.64 kB / 3.116 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00411/5.861, allocations: 2.341 MB / 3.119 GB, free: 366.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 6.271e-06/5.861, allocations: 3.219 kB / 3.119 GB, free: 366.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02619/5.887, allocations: 5.142 MB / 3.124 GB, free: 365.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/5.887, allocations: 100.1 kB / 3.124 GB, free: 365 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008133/5.895, allocations: 3.989 MB / 3.128 GB, free: 363.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000887/5.896, allocations: 47.16 kB / 3.128 GB, free: 363.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/5.897, allocations: 0.9804 MB / 3.129 GB, free: 362.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/5.898, allocations: 229.3 kB / 3.129 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/5.899, allocations: 2.938 kB / 3.129 GB, free: 362.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001357/5.899, allocations: 345.5 kB / 3.129 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/5.902, allocations: 2.139 MB / 3.131 GB, free: 361.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/5.905, allocations: 2.161 MB / 3.133 GB, free: 360.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02624/5.931, allocations: 11.36 MB / 3.144 GB, free: 359.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/5.931, allocations: 0 / 3.144 GB, free: 359.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0486/5.979, allocations: 15.55 MB / 3.16 GB, free: 357 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/5.98, allocations: 395.7 kB / 3.16 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/5.98, allocations: 0 / 3.16 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004122/5.984, allocations: 0.9551 MB / 3.161 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/5.989, allocations: 0.6543 MB / 3.162 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/5.993, allocations: 4.848 MB / 3.166 GB, free: 352.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/5.999, allocations: 0.5611 MB / 3.167 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/6, allocations: 152.6 kB / 3.167 GB, free: 352.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/6, allocations: 4.531 kB / 3.167 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04795/6.048, allocations: 15.21 MB / 3.182 GB, free: 341.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/6.048, allocations: 0 / 3.182 GB, free: 341.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/6.051, allocations: 0.8811 MB / 3.183 GB, free: 340.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/6.056, allocations: 0.6473 MB / 3.183 GB, free: 339.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/6.063, allocations: 8.219 MB / 3.191 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/6.068, allocations: 0.5459 MB / 3.192 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008537/6.069, allocations: 155.8 kB / 3.192 GB, free: 330.3 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.0014/6.071, allocations: 179.3 kB / 3.192 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02427/6.095, allocations: 5.048 MB / 3.197 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/6.097, allocations: 256.8 kB / 3.197 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/6.122, allocations: 5.217 MB / 3.202 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/6.122, allocations: 12 kB / 3.202 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/6.122, allocations: 0 / 3.202 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/6.122, allocations: 3.984 kB / 3.202 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007354/6.13, allocations: 3.493 MB / 3.206 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/6.13, allocations: 0 / 3.206 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/6.134, allocations: 0.6161 MB / 3.206 GB, free: 315.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/6.135, allocations: 201.5 kB / 3.207 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005944/6.136, allocations: 71.88 kB / 3.207 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/6.138, allocations: 2.089 MB / 3.209 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/6.138, allocations: 3.25 kB / 3.209 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/6.162, allocations: 4.869 MB / 3.214 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/6.166, allocations: 1.118 MB / 3.215 GB, free: 306.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/6.168, allocations: 55.97 kB / 3.215 GB, free: 306.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005848/6.173, allocations: 0.5384 MB / 3.215 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/6.174, allocations: 80.66 kB / 3.215 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006383/6.175, allocations: 139.8 kB / 3.215 GB, free: 306.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006656/6.181, allocations: 3.021 MB / 3.218 GB, free: 303.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.72e-07/6.181, allocations: 4 kB / 3.218 GB, free: 303.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007122/6.188, allocations: 1.081 MB / 3.219 GB, free: 302 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.0137/6.202, allocations: 5.607 MB / 3.225 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01173/6.214, allocations: 7.948 MB / 3.233 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/6.214, allocations: 0 / 3.233 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002864/6.217, allocations: 1.952 MB / 3.235 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/6.221, allocations: 0.6174 MB / 3.235 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/6.24, allocations: 6.655 MB / 3.242 GB, free: 279.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/6.243, allocations: 2.134 MB / 3.244 GB, free: 277.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009685/6.252, allocations: 2.866 MB / 3.247 GB, free: 274.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/6.255, allocations: 0.8818 MB / 3.247 GB, free: 273.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.303e-06/6.255, allocations: 3.938 kB / 3.247 GB, free: 273.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/6.403, allocations: 88.91 MB / 3.334 GB, free: 185.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/6.403, allocations: 192.8 kB / 3.334 GB, free: 185 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.593/12, allocations: 2.719 kB / 3.334 GB, free: 185 MB / 1.151 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