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.673/1.673, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00115/0.00115, allocations: 184.8 kB / 361.4 MB, free: 6.855 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.908/1.908, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008978/0.0008978, allocations: 99.92 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.455e-05, allocations: 8 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8165, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.993/5.81, allocations: 2.07 GB / 3.034 GB, free: 45.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/5.81, allocations: 103.9 kB / 3.034 GB, free: 45.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0872/5.897, allocations: 40.94 MB / 3.074 GB, free: 7.754 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.525e-06/5.898, allocations: 4 kB / 3.074 GB, free: 7.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000229/5.898, allocations: 16 kB / 3.074 GB, free: 7.734 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.004767/5.903, allocations: 1.44 MB / 3.076 GB, free: 6.234 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/5.903, allocations: 16.03 kB / 3.076 GB, free: 6.219 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/5.909, allocations: 0.6422 MB / 3.076 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/5.913, allocations: 1.693 MB / 3.078 GB, free: 3.836 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/5.914, allocations: 132.7 kB / 3.078 GB, free: 3.691 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/5.914, allocations: 28.81 kB / 3.078 GB, free: 3.664 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003291/5.917, allocations: 2.804 MB / 3.081 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.632/6.549, allocations: 1.957 MB / 3.083 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/6.549, allocations: 0.5 kB / 3.083 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/6.55, allocations: 3.266 kB / 3.083 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/6.55, allocations: 9.281 kB / 3.083 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/6.561, allocations: 5.047 MB / 3.088 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/6.569, allocations: 3.104 MB / 3.091 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/6.571, allocations: 1.235 MB / 3.092 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.523e-05/6.571, allocations: 14.25 kB / 3.092 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002555/6.574, allocations: 1.891 MB / 3.094 GB, free: 329.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/6.574, allocations: 0.9688 kB / 3.094 GB, free: 329.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.005524/6.579, allocations: 2.685 MB / 3.097 GB, free: 329.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/6.58, allocations: 92.52 kB / 3.097 GB, free: 329.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004341/6.584, allocations: 2.35 MB / 3.099 GB, free: 328.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004273/6.584, allocations: 49.33 kB / 3.099 GB, free: 328.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/6.585, allocations: 0.6469 MB / 3.1 GB, free: 327.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/6.585, allocations: 178.9 kB / 3.1 GB, free: 327.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/6.585, allocations: 0 / 3.1 GB, free: 327.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/6.585, allocations: 328.6 kB / 3.1 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/6.587, allocations: 1.58 MB / 3.102 GB, free: 326.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/6.589, allocations: 1.555 MB / 3.103 GB, free: 326.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/6.592, allocations: 1.448 MB / 3.105 GB, free: 325.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/6.592, allocations: 0.9375 kB / 3.105 GB, free: 325.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005549/6.598, allocations: 3.365 MB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/6.598, allocations: 85.12 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/6.598, allocations: 1.156 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/6.598, allocations: 1.531 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/6.599, allocations: 231.7 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/6.599, allocations: 6.297 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/6.601, allocations: 106 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/6.601, allocations: 115.6 kB / 3.108 GB, free: 324.4 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.0004617/6.602, allocations: 173.3 kB / 3.109 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005056/6.607, allocations: 2.7 MB / 3.111 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005708/6.607, allocations: 176.4 kB / 3.111 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/6.613, allocations: 2.978 MB / 3.114 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/6.614, allocations: 9.234 kB / 3.114 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/6.614, allocations: 2.688 kB / 3.114 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/6.614, allocations: 3.531 kB / 3.114 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/6.618, allocations: 2.438 MB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/6.618, allocations: 4.312 kB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/6.619, allocations: 221.8 kB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/6.619, allocations: 2.25 kB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/6.62, allocations: 47.92 kB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/6.62, allocations: 2.938 kB / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/6.62, allocations: 0 / 3.117 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/6.625, allocations: 2.759 MB / 3.12 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/6.627, allocations: 0.7786 MB / 3.12 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/6.627, allocations: 50.16 kB / 3.12 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/6.629, allocations: 148 kB / 3.121 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/6.629, allocations: 64.36 kB / 3.121 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/6.629, allocations: 108.7 kB / 3.121 GB, free: 319.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004174/6.634, allocations: 1.804 MB / 3.123 GB, free: 318.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/6.634, allocations: 0 / 3.123 GB, free: 318.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003345/6.637, allocations: 440.3 kB / 3.123 GB, free: 318.6 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.008123/6.645, allocations: 3.664 MB / 3.127 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004774/6.65, allocations: 3.201 MB / 3.13 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/6.65, allocations: 0 / 3.13 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/6.652, allocations: 1.394 MB / 3.131 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/6.654, allocations: 394.8 kB / 3.131 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/6.664, allocations: 4.143 MB / 3.135 GB, free: 313.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/6.665, allocations: 1.603 MB / 3.137 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002861/6.668, allocations: 0.8222 MB / 3.138 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/6.669, allocations: 0.5784 MB / 3.138 GB, free: 312 MB / 0.948 GB Notification: Performance of SimCode: time 1.784e-06/6.669, allocations: 0 / 3.138 GB, free: 312 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08299/6.752, allocations: 45.4 MB / 3.183 GB, free: 287.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/6.753, allocations: 192.5 kB / 3.183 GB, free: 287.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/10.29, allocations: 2.25 kB / 3.183 GB, free: 287.4 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)