Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.2 MB / 303.2 MB, free: 8.277 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.001265/0.001265, allocations: 182.3 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 95.47 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 13.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.127/5.386, allocations: 2.071 GB / 3.05 GB, free: 200.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/5.386, allocations: 110.9 kB / 3.05 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09175/5.478, allocations: 41.93 MB / 3.091 GB, free: 164.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/5.478, allocations: 0 / 3.091 GB, free: 164.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001647/5.478, allocations: 20 kB / 3.091 GB, free: 164.1 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.00461/5.483, allocations: 1.872 MB / 3.093 GB, free: 162.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/5.483, allocations: 8.031 kB / 3.093 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004098/5.483, allocations: 84.66 kB / 3.093 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006202/5.489, allocations: 0.6457 MB / 3.094 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/5.493, allocations: 1.707 MB / 3.095 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/5.494, allocations: 150.3 kB / 3.096 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/5.494, allocations: 34.44 kB / 3.096 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/5.498, allocations: 2.161 MB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/5.498, allocations: 4 kB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/5.498, allocations: 15 kB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/5.498, allocations: 7.953 kB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/5.504, allocations: 3.137 MB / 3.101 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009471/5.514, allocations: 5.13 MB / 3.106 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/5.524, allocations: 3.403 MB / 3.109 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/5.524, allocations: 20.42 kB / 3.109 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003571/5.527, allocations: 2.065 MB / 3.111 GB, free: 147.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.586e-06/5.527, allocations: 0 / 3.111 GB, free: 147.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008785/5.536, allocations: 4.365 MB / 3.115 GB, free: 143 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/5.536, allocations: 89.72 kB / 3.115 GB, free: 142.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/5.541, allocations: 2.46 MB / 3.118 GB, free: 140.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/5.541, allocations: 53.69 kB / 3.118 GB, free: 140.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/5.542, allocations: 0.6614 MB / 3.119 GB, free: 139.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/5.542, allocations: 181.5 kB / 3.119 GB, free: 139.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/5.543, allocations: 15.94 kB / 3.119 GB, free: 139.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/5.543, allocations: 330 kB / 3.119 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/5.546, allocations: 1.755 MB / 3.121 GB, free: 137.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/5.548, allocations: 1.734 MB / 3.122 GB, free: 135.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/5.551, allocations: 1.462 MB / 3.124 GB, free: 134.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/5.551, allocations: 4 kB / 3.124 GB, free: 134.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006588/5.558, allocations: 3.565 MB / 3.127 GB, free: 130.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/5.558, allocations: 83.38 kB / 3.127 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/5.558, allocations: 7.953 kB / 3.127 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/5.558, allocations: 0 / 3.127 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/5.559, allocations: 227.7 kB / 3.128 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/5.559, allocations: 4 kB / 3.128 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/5.561, allocations: 115.6 kB / 3.128 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/5.561, allocations: 107.9 kB / 3.128 GB, free: 130.1 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 () * Number of clocked 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.001787/5.563, allocations: 0.781 MB / 3.129 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/5.564, allocations: 165.9 kB / 3.129 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006825/5.571, allocations: 3.211 MB / 3.132 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/5.571, allocations: 7.953 kB / 3.132 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/5.571, allocations: 0 / 3.132 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/5.571, allocations: 7.984 kB / 3.132 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/5.575, allocations: 2.512 MB / 3.134 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/5.575, allocations: 0 / 3.134 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/5.576, allocations: 215.7 kB / 3.135 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/5.576, allocations: 4 kB / 3.135 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/5.576, allocations: 55.92 kB / 3.135 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/5.576, allocations: 7.938 kB / 3.135 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/5.576, allocations: 0 / 3.135 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/5.582, allocations: 2.98 MB / 3.138 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/5.584, allocations: 0.7721 MB / 3.138 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005395/5.585, allocations: 59.97 kB / 3.138 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/5.586, allocations: 143.9 kB / 3.139 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/5.587, allocations: 68.45 kB / 3.139 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/5.587, allocations: 107.9 kB / 3.139 GB, free: 118.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003894/5.591, allocations: 1.915 MB / 3.141 GB, free: 117 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.591, allocations: 4 kB / 3.141 GB, free: 117 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002275/5.593, allocations: 463.6 kB / 3.141 GB, free: 116.5 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]) * Number of clocked states: 0 () * 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.007608/5.601, allocations: 3.873 MB / 3.145 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005937/5.607, allocations: 3.547 MB / 3.148 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/5.607, allocations: 0 / 3.148 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/5.609, allocations: 1.572 MB / 3.15 GB, free: 107.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/5.611, allocations: 405.5 kB / 3.15 GB, free: 107.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03966/5.651, allocations: 19.05 MB / 3.169 GB, free: 87.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/5.653, allocations: 1.608 MB / 3.17 GB, free: 85.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002995/5.656, allocations: 0.7941 MB / 3.171 GB, free: 85.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/5.657, allocations: 0.5833 MB / 3.172 GB, free: 84.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/5.657, allocations: 0 / 3.172 GB, free: 84.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/5.731, allocations: 51.95 MB / 3.222 GB, free: 32.76 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/5.731, allocations: 242.9 kB / 3.223 GB, free: 32.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/8.853, allocations: 0 / 3.223 GB, free: 32.47 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)