Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001213/0.001213, allocations: 177.1 kB / 377.1 MB, free: 1.547 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.827/1.827, allocations: 205.4 MB / 0.6366 GB, free: 9.465 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.0009819/0.0009821, allocations: 99.03 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003544, allocations: 11.98 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/5.664, allocations: 2.072 GB / 3.06 GB, free: 149.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/5.664, allocations: 113.5 kB / 3.06 GB, free: 149 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08518/5.749, allocations: 41.94 MB / 3.101 GB, free: 107.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.827e-06/5.749, allocations: 0 / 3.101 GB, free: 107.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.456e-05/5.749, allocations: 20 kB / 3.101 GB, free: 107.2 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.003452/5.753, allocations: 1.876 MB / 3.103 GB, free: 105.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/5.753, allocations: 12.02 kB / 3.103 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/5.753, allocations: 82.47 kB / 3.103 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/5.759, allocations: 0.6496 MB / 3.104 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/5.762, allocations: 1.706 MB / 3.105 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/5.763, allocations: 150.7 kB / 3.105 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/5.763, allocations: 35.98 kB / 3.105 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003568/5.766, allocations: 2.157 MB / 3.108 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/5.766, allocations: 8 kB / 3.108 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/5.766, allocations: 12.34 kB / 3.108 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/5.766, allocations: 7.953 kB / 3.108 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005582/5.772, allocations: 3.141 MB / 3.111 GB, free: 97.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009499/5.782, allocations: 5.124 MB / 3.116 GB, free: 92.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/5.792, allocations: 3.396 MB / 3.119 GB, free: 88.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/5.792, allocations: 17.08 kB / 3.119 GB, free: 88.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00366/5.796, allocations: 2.069 MB / 3.121 GB, free: 86.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.797e-06/5.796, allocations: 0 / 3.121 GB, free: 86.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008446/5.804, allocations: 4.361 MB / 3.125 GB, free: 82.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/5.804, allocations: 97.66 kB / 3.125 GB, free: 82.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/5.808, allocations: 2.457 MB / 3.128 GB, free: 79.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003691/5.808, allocations: 53.69 kB / 3.128 GB, free: 79.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/5.809, allocations: 0.6702 MB / 3.128 GB, free: 78.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/5.809, allocations: 177.5 kB / 3.129 GB, free: 78.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/5.809, allocations: 12 kB / 3.129 GB, free: 78.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/5.809, allocations: 330 kB / 3.129 GB, free: 78.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/5.812, allocations: 1.751 MB / 3.131 GB, free: 76.56 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/5.815, allocations: 1.731 MB / 3.132 GB, free: 74.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/5.817, allocations: 1.466 MB / 3.134 GB, free: 73.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/5.817, allocations: 4 kB / 3.134 GB, free: 73.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006293/5.823, allocations: 3.557 MB / 3.137 GB, free: 69.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/5.823, allocations: 90.03 kB / 3.137 GB, free: 69.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/5.823, allocations: 12.73 kB / 3.137 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/5.823, allocations: 0 / 3.137 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/5.825, allocations: 231.6 kB / 3.138 GB, free: 69.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/5.825, allocations: 8 kB / 3.138 GB, free: 69.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/5.827, allocations: 111.6 kB / 3.138 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/5.827, allocations: 111.9 kB / 3.138 GB, free: 69.2 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.001476/5.828, allocations: 0.7646 MB / 3.139 GB, free: 68.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/5.829, allocations: 165.9 kB / 3.139 GB, free: 68.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/5.835, allocations: 3.219 MB / 3.142 GB, free: 65.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/5.835, allocations: 12.8 kB / 3.142 GB, free: 65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/5.835, allocations: 0 / 3.142 GB, free: 65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/5.835, allocations: 3.984 kB / 3.142 GB, free: 65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/5.838, allocations: 2.512 MB / 3.144 GB, free: 62.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/5.838, allocations: 4 kB / 3.144 GB, free: 62.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/5.839, allocations: 215.7 kB / 3.145 GB, free: 62.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/5.839, allocations: 4 kB / 3.145 GB, free: 62.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/5.839, allocations: 51.92 kB / 3.145 GB, free: 62.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/5.839, allocations: 4 kB / 3.145 GB, free: 62.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/5.839, allocations: 5.125 kB / 3.145 GB, free: 62.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/5.845, allocations: 2.98 MB / 3.148 GB, free: 59.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/5.846, allocations: 0.7682 MB / 3.148 GB, free: 58.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/5.847, allocations: 55.97 kB / 3.148 GB, free: 58.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/5.848, allocations: 147.9 kB / 3.148 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/5.848, allocations: 68.45 kB / 3.149 GB, free: 58.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/5.849, allocations: 111.9 kB / 3.149 GB, free: 57.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002987/5.852, allocations: 1.911 MB / 3.15 GB, free: 56.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/5.852, allocations: 0 / 3.15 GB, free: 56.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001805/5.854, allocations: 459.6 kB / 3.151 GB, free: 55.64 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.008307/5.862, allocations: 3.875 MB / 3.155 GB, free: 51.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006953/5.869, allocations: 3.547 MB / 3.158 GB, free: 48.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/5.869, allocations: 0 / 3.158 GB, free: 48.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/5.872, allocations: 1.572 MB / 3.16 GB, free: 46.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/5.875, allocations: 406.1 kB / 3.16 GB, free: 46.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/5.913, allocations: 19.07 MB / 3.179 GB, free: 26.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/5.914, allocations: 1.604 MB / 3.18 GB, free: 24.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002676/5.917, allocations: 0.8018 MB / 3.181 GB, free: 24.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/5.918, allocations: 0.5773 MB / 3.182 GB, free: 23.54 MB / 0.948 GB Notification: Performance of SimCode: time 9.398e-06/5.918, allocations: 0 / 3.182 GB, free: 23.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5881/6.506, allocations: 51.95 MB / 3.232 GB, free: 262.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/6.506, allocations: 237.8 kB / 3.233 GB, free: 261.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/9.858, allocations: 0 / 3.233 GB, free: 261.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)