Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.441/2.441, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 176.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 89.45 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.137e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.821, allocations: 115.3 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.007/6.828, allocations: 2.07 GB / 3.033 GB, free: 49.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/6.828, allocations: 99.06 kB / 3.033 GB, free: 49.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1789/7.007, allocations: 40.95 MB / 3.073 GB, free: 12.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.945e-06/7.007, allocations: 0 / 3.073 GB, free: 12.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002009/7.007, allocations: 20 kB / 3.073 GB, free: 11.99 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00574/7.013, allocations: 1.444 MB / 3.075 GB, free: 10.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/7.013, allocations: 8.031 kB / 3.075 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/7.03, allocations: 0.6418 MB / 3.075 GB, free: 9.832 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007679/7.038, allocations: 1.694 MB / 3.077 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000713/7.039, allocations: 141.6 kB / 3.077 GB, free: 7.941 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/7.039, allocations: 20 kB / 3.077 GB, free: 7.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009739/7.049, allocations: 2.808 MB / 3.08 GB, free: 5.113 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/7.056, allocations: 1.958 MB / 3.082 GB, free: 3.148 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/7.056, allocations: 3.938 kB / 3.082 GB, free: 3.145 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004675/7.056, allocations: 11.95 kB / 3.082 GB, free: 3.133 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/7.056, allocations: 4 kB / 3.082 GB, free: 3.129 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6697/7.726, allocations: 5.042 MB / 3.087 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/7.743, allocations: 3.096 MB / 3.09 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/7.746, allocations: 1.235 MB / 3.091 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/7.746, allocations: 18 kB / 3.091 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004028/7.75, allocations: 1.883 MB / 3.093 GB, free: 330.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.729e-06/7.75, allocations: 3.812 kB / 3.093 GB, free: 330.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008177/7.758, allocations: 2.685 MB / 3.095 GB, free: 330.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/7.759, allocations: 96 kB / 3.095 GB, free: 330.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/7.765, allocations: 2.342 MB / 3.098 GB, free: 330.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006475/7.765, allocations: 42.47 kB / 3.098 GB, free: 330.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/7.766, allocations: 0.6615 MB / 3.098 GB, free: 330.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/7.767, allocations: 173 kB / 3.099 GB, free: 330.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/7.767, allocations: 2.25 kB / 3.099 GB, free: 330.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/7.767, allocations: 327.8 kB / 3.099 GB, free: 329.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/7.771, allocations: 1.58 MB / 3.1 GB, free: 329.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/7.774, allocations: 1.553 MB / 3.102 GB, free: 328.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/7.779, allocations: 1.454 MB / 3.103 GB, free: 328.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/7.779, allocations: 0 / 3.103 GB, free: 328.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01005/7.789, allocations: 3.352 MB / 3.107 GB, free: 327 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/7.789, allocations: 93.05 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/7.789, allocations: 2.25 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/7.789, allocations: 6.672 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/7.792, allocations: 223.5 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/7.792, allocations: 5.469 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/7.795, allocations: 110.5 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005916/7.796, allocations: 119 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],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 (58): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007106/7.796, allocations: 175.2 kB / 3.107 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008521/7.805, allocations: 2.698 MB / 3.11 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/7.806, allocations: 173.7 kB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00975/7.816, allocations: 2.981 MB / 3.113 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/7.816, allocations: 6.156 kB / 3.113 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/7.816, allocations: 0 / 3.113 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/7.816, allocations: 3.938 kB / 3.113 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/7.822, allocations: 2.449 MB / 3.115 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/7.822, allocations: 7.672 kB / 3.116 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/7.825, allocations: 216.8 kB / 3.116 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/7.825, allocations: 5.969 kB / 3.116 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/7.826, allocations: 48.14 kB / 3.116 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/7.826, allocations: 3.188 kB / 3.116 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/7.826, allocations: 1.062 kB / 3.116 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/7.834, allocations: 2.756 MB / 3.118 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/7.837, allocations: 0.7672 MB / 3.119 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008593/7.838, allocations: 53.86 kB / 3.119 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/7.841, allocations: 140.6 kB / 3.119 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/7.842, allocations: 66.11 kB / 3.119 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005562/7.842, allocations: 113.7 kB / 3.12 GB, free: 321.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004964/7.847, allocations: 1.805 MB / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.685e-06/7.847, allocations: 0 / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002888/7.85, allocations: 443 kB / 3.122 GB, free: 321.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],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,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/7.861, allocations: 3.65 MB / 3.125 GB, free: 319.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007144/7.868, allocations: 3.19 MB / 3.128 GB, free: 318.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/7.868, allocations: 3.906 kB / 3.128 GB, free: 318.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/7.871, allocations: 1.406 MB / 3.13 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/7.875, allocations: 394.6 kB / 3.13 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/7.889, allocations: 4.138 MB / 3.134 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/7.891, allocations: 1.604 MB / 3.136 GB, free: 315 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005184/7.896, allocations: 0.8192 MB / 3.137 GB, free: 315 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/7.899, allocations: 0.5774 MB / 3.137 GB, free: 314.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.373e-06/7.899, allocations: 3.375 kB / 3.137 GB, free: 314.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/8.025, allocations: 45.38 MB / 3.181 GB, free: 292.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/8.025, allocations: 195.2 kB / 3.182 GB, free: 292.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/11.9, allocations: 0 / 3.182 GB, free: 292.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)