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.DryCoil.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.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.793 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.001145/0.001145, allocations: 176.3 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009285/0.0009283, allocations: 85.06 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.968e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.487/5.707, allocations: 2.189 GB / 3.074 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/5.707, allocations: 104.8 kB / 3.074 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08067/5.788, allocations: 40.95 MB / 3.114 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/5.788, allocations: 0 / 3.114 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.617e-05/5.788, allocations: 24 kB / 3.114 GB, free: 142.1 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001961/5.79, allocations: 1.432 MB / 3.116 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/5.79, allocations: 15.97 kB / 3.116 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/5.796, allocations: 0.6535 MB / 3.116 GB, free: 140 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/5.798, allocations: 1.689 MB / 3.118 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/5.799, allocations: 140 kB / 3.118 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/5.799, allocations: 20 kB / 3.118 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003073/5.802, allocations: 2.805 MB / 3.121 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/5.804, allocations: 1.958 MB / 3.123 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/5.804, allocations: 4 kB / 3.123 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/5.804, allocations: 11.94 kB / 3.123 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/5.804, allocations: 12 kB / 3.123 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008169/5.812, allocations: 5.038 MB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00714/5.819, allocations: 3.095 MB / 3.131 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/5.821, allocations: 1.232 MB / 3.132 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/5.821, allocations: 20.41 kB / 3.132 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/5.823, allocations: 1.881 MB / 3.134 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 4.468e-06/5.823, allocations: 0 / 3.134 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.004275/5.827, allocations: 2.695 MB / 3.136 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/5.827, allocations: 93.66 kB / 3.137 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/5.832, allocations: 2.351 MB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003525/5.832, allocations: 41.7 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/5.833, allocations: 0.6497 MB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/5.833, allocations: 177.5 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/5.833, allocations: 0 / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/5.834, allocations: 330 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/5.835, allocations: 1.58 MB / 3.142 GB, free: 114 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/5.837, allocations: 1.558 MB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/5.839, allocations: 1.443 MB / 3.144 GB, free: 111 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/5.839, allocations: 0 / 3.144 GB, free: 111 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004584/5.844, allocations: 3.363 MB / 3.148 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/5.844, allocations: 91.38 kB / 3.148 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/5.844, allocations: 0 / 3.148 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/5.844, allocations: 3.953 kB / 3.148 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/5.845, allocations: 223.6 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/5.845, allocations: 11.98 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/5.847, allocations: 107.6 kB / 3.148 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/5.847, allocations: 111.9 kB / 3.148 GB, free: 107.1 MB / 0.8698 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.0004467/5.847, allocations: 175.8 kB / 3.148 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004078/5.851, allocations: 2.703 MB / 3.151 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/5.852, allocations: 169.9 kB / 3.151 GB, free: 104 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/5.857, allocations: 2.979 MB / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/5.857, allocations: 8 kB / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/5.857, allocations: 4 kB / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/5.857, allocations: 3.984 kB / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/5.86, allocations: 2.457 MB / 3.157 GB, free: 98.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/5.86, allocations: 0 / 3.157 GB, free: 98.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/5.861, allocations: 219.7 kB / 3.157 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/5.861, allocations: 4 kB / 3.157 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/5.861, allocations: 47.92 kB / 3.157 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/5.861, allocations: 7.938 kB / 3.157 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.861, allocations: 0 / 3.157 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/5.865, allocations: 2.756 MB / 3.16 GB, free: 95.44 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/5.867, allocations: 0.7643 MB / 3.16 GB, free: 94.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/5.867, allocations: 51.97 kB / 3.16 GB, free: 94.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/5.869, allocations: 147.9 kB / 3.16 GB, free: 94.46 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/5.869, allocations: 60.41 kB / 3.161 GB, free: 94.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/5.869, allocations: 111.9 kB / 3.161 GB, free: 94.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003112/5.873, allocations: 1.813 MB / 3.162 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/5.873, allocations: 0 / 3.162 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001694/5.874, allocations: 435.7 kB / 3.163 GB, free: 92.06 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: 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.005333/5.88, allocations: 3.655 MB / 3.166 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003295/5.883, allocations: 3.202 MB / 3.17 GB, free: 85.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/5.883, allocations: 0 / 3.17 GB, free: 85.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/5.884, allocations: 1.399 MB / 3.171 GB, free: 83.74 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/5.887, allocations: 388.6 kB / 3.171 GB, free: 83.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/5.895, allocations: 4.158 MB / 3.175 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/5.896, allocations: 1.603 MB / 3.177 GB, free: 77.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002428/5.898, allocations: 0.8174 MB / 3.178 GB, free: 76.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/5.9, allocations: 0.5773 MB / 3.178 GB, free: 76.12 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/5.9, allocations: 0 / 3.178 GB, free: 76.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/5.976, allocations: 45.39 MB / 3.223 GB, free: 30.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/5.976, allocations: 209 kB / 3.223 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/9.227, allocations: 0 / 3.223 GB, free: 30.54 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)