Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.39 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.826e-05/4.829e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.106/6.365, allocations: 2.198 GB / 3.09 GB, free: 171 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/6.365, allocations: 103.9 kB / 3.09 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2986/6.664, allocations: 158.4 MB / 3.245 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/6.664, allocations: 0 / 3.245 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001132/6.664, allocations: 32 kB / 3.245 GB, free: 10.68 MB / 0.8698 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.00412/6.668, allocations: 2.229 MB / 3.247 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/6.668, allocations: 12.03 kB / 3.247 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/6.668, allocations: 94.52 kB / 3.247 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/6.689, allocations: 2.923 MB / 3.25 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/6.695, allocations: 2.835 MB / 3.253 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/6.696, allocations: 202.2 kB / 3.253 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/6.696, allocations: 60.28 kB / 3.253 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5546/7.251, allocations: 2.625 MB / 3.255 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/7.251, allocations: 0.5312 kB / 3.255 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/7.251, allocations: 22.45 kB / 3.255 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/7.251, allocations: 11.16 kB / 3.255 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006616/7.258, allocations: 3.591 MB / 3.259 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/7.285, allocations: 8.815 MB / 3.268 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/7.296, allocations: 4.005 MB / 3.271 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/7.299, allocations: 1.621 MB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/7.299, allocations: 25.28 kB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004273/7.303, allocations: 2.37 MB / 3.275 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 4.188e-06/7.303, allocations: 0 / 3.275 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.02347/7.327, allocations: 4.694 MB / 3.28 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/7.327, allocations: 95.77 kB / 3.28 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/7.335, allocations: 4.138 MB / 3.284 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008888/7.336, allocations: 61.02 kB / 3.284 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/7.337, allocations: 1.002 MB / 3.285 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/7.338, allocations: 243.6 kB / 3.285 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/7.338, allocations: 19.72 kB / 3.285 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/7.338, allocations: 346.9 kB / 3.286 GB, free: 242 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/7.341, allocations: 2.138 MB / 3.288 GB, free: 242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003061/7.344, allocations: 2.176 MB / 3.29 GB, free: 241 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/7.347, allocations: 1.757 MB / 3.292 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/7.347, allocations: 0 / 3.292 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0244/7.371, allocations: 5.967 MB / 3.297 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002341/7.371, allocations: 389.5 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.371, allocations: 0 / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/7.375, allocations: 0.9977 MB / 3.299 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/7.38, allocations: 0.655 MB / 3.299 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/7.384, allocations: 4.82 MB / 3.304 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/7.389, allocations: 0.5856 MB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007483/7.39, allocations: 152.2 kB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/7.39, allocations: 3.312 kB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03806/7.428, allocations: 5.7 MB / 3.31 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/7.428, allocations: 3.812 kB / 3.31 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/7.433, allocations: 0.8775 MB / 3.311 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/7.44, allocations: 0.652 MB / 3.312 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/7.451, allocations: 8.499 MB / 3.32 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009239/7.46, allocations: 0.5764 MB / 3.321 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/7.461, allocations: 154.8 kB / 3.321 GB, free: 223.9 MB / 0.8698 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.00116/7.462, allocations: 199.2 kB / 3.321 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/7.464, allocations: 254.3 kB / 3.321 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03719/7.501, allocations: 5.049 MB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/7.501, allocations: 6.625 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/7.501, allocations: 3.25 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/7.501, allocations: 6.891 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009284/7.511, allocations: 3.588 MB / 3.33 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/7.511, allocations: 3.953 kB / 3.33 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007373/7.518, allocations: 0.614 MB / 3.33 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/7.52, allocations: 206.9 kB / 3.331 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006906/7.52, allocations: 69.34 kB / 3.331 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/7.524, allocations: 2.128 MB / 3.333 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/7.524, allocations: 0 / 3.333 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03536/7.559, allocations: 4.683 MB / 3.337 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004617/7.564, allocations: 1.126 MB / 3.338 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/7.565, allocations: 63.11 kB / 3.339 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009135/7.575, allocations: 0.5523 MB / 3.339 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/7.575, allocations: 86.95 kB / 3.339 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009198/7.576, allocations: 140.7 kB / 3.339 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.009516/7.586, allocations: 3.169 MB / 3.342 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.02e-07/7.586, allocations: 0 / 3.342 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008187/7.594, allocations: 1.131 MB / 3.343 GB, free: 215 MB / 0.8698 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.01693/7.611, allocations: 5.31 MB / 3.349 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01993/7.631, allocations: 8.044 MB / 3.357 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/7.631, allocations: 0 / 3.357 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/7.636, allocations: 1.97 MB / 3.358 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/7.642, allocations: 0.6451 MB / 3.359 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/7.664, allocations: 6.726 MB / 3.366 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/7.666, allocations: 2.138 MB / 3.368 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008922/7.675, allocations: 2.858 MB / 3.371 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/7.677, allocations: 0.8846 MB / 3.371 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.51e-07/7.677, allocations: 0 / 3.371 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/7.828, allocations: 107.2 MB / 3.476 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/7.828, allocations: 252.6 kB / 3.476 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.323/13.15, allocations: 4 kB / 3.476 GB, free: 107.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)