Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.757/1.757, allocations: 297.8 MB / 313.7 MB, free: 52 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 188.5 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009192, allocations: 94.11 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 12.56 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7982, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.434/4.232, allocations: 1.721 GB / 2.747 GB, free: 135.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/4.233, allocations: 106.1 kB / 2.747 GB, free: 135.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.08288/4.316, allocations: 42.43 MB / 2.788 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.575e-06/4.316, allocations: 0 / 2.788 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.28e-05/4.316, allocations: 24 kB / 2.788 GB, free: 93.4 MB / 0.9792 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.00289/4.319, allocations: 1.86 MB / 2.79 GB, free: 91.47 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/4.319, allocations: 8.031 kB / 2.79 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/4.325, allocations: 0.6505 MB / 2.791 GB, free: 90.81 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/4.328, allocations: 1.775 MB / 2.793 GB, free: 88.99 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/4.328, allocations: 145.3 kB / 2.793 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/4.328, allocations: 32.38 kB / 2.793 GB, free: 88.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/4.331, allocations: 2.18 MB / 2.795 GB, free: 86.61 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/4.331, allocations: 0 / 2.795 GB, free: 86.61 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/4.332, allocations: 12 kB / 2.795 GB, free: 86.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/4.332, allocations: 4 kB / 2.795 GB, free: 86.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005233/4.337, allocations: 3.145 MB / 2.798 GB, free: 83.45 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008754/4.346, allocations: 5.125 MB / 2.803 GB, free: 78.29 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009303/4.355, allocations: 3.386 MB / 2.806 GB, free: 74.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/4.358, allocations: 1.404 MB / 2.808 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-05/4.358, allocations: 24.41 kB / 2.808 GB, free: 73.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003324/4.361, allocations: 2.07 MB / 2.81 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=61): time 3.917e-06/4.361, allocations: 0 / 2.81 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of matching and sorting (n=61): time 0.008407/4.369, allocations: 4.281 MB / 2.814 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/4.37, allocations: 97.66 kB / 2.814 GB, free: 66.96 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/4.374, allocations: 2.669 MB / 2.817 GB, free: 64.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/4.374, allocations: 53.69 kB / 2.817 GB, free: 64.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006171/4.375, allocations: 0.6654 MB / 2.817 GB, free: 63.56 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/4.375, allocations: 185.4 kB / 2.817 GB, free: 63.38 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/4.376, allocations: 16 kB / 2.817 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/4.376, allocations: 337.8 kB / 2.818 GB, free: 63.03 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/4.379, allocations: 1.747 MB / 2.819 GB, free: 61.28 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/4.381, allocations: 1.727 MB / 2.821 GB, free: 59.55 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/4.386, allocations: 2.64 MB / 2.824 GB, free: 56.89 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/4.386, allocations: 0 / 2.824 GB, free: 56.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006111/4.392, allocations: 3.553 MB / 2.827 GB, free: 53.31 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/4.392, allocations: 95.36 kB / 2.827 GB, free: 53.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/4.392, allocations: 4 kB / 2.827 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/4.392, allocations: 0 / 2.827 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/4.394, allocations: 225.1 kB / 2.828 GB, free: 52.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/4.394, allocations: 4 kB / 2.828 GB, free: 52.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/4.395, allocations: 107.8 kB / 2.828 GB, free: 52.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/4.396, allocations: 117 kB / 2.828 GB, free: 52.76 MB / 0.9792 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.001575/4.397, allocations: 0.7742 MB / 2.829 GB, free: 51.97 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000682/4.398, allocations: 173.8 kB / 2.829 GB, free: 51.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/4.404, allocations: 3.221 MB / 2.832 GB, free: 48.58 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/4.404, allocations: 8 kB / 2.832 GB, free: 48.57 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/4.404, allocations: 0 / 2.832 GB, free: 48.57 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/4.404, allocations: 0 / 2.832 GB, free: 48.57 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/4.408, allocations: 2.524 MB / 2.834 GB, free: 46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/4.408, allocations: 0 / 2.834 GB, free: 46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/4.409, allocations: 223.7 kB / 2.835 GB, free: 45.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/4.409, allocations: 0 / 2.835 GB, free: 45.78 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/4.409, allocations: 51.94 kB / 2.835 GB, free: 45.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/4.409, allocations: 6.234 kB / 2.835 GB, free: 45.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/4.409, allocations: 0 / 2.835 GB, free: 45.72 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005684/4.415, allocations: 2.98 MB / 2.837 GB, free: 42.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/4.416, allocations: 0.7759 MB / 2.838 GB, free: 41.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/4.417, allocations: 55.98 kB / 2.838 GB, free: 41.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/4.419, allocations: 152.2 kB / 2.838 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/4.419, allocations: 60.47 kB / 2.838 GB, free: 41.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/4.419, allocations: 115.9 kB / 2.839 GB, free: 41.54 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003473/4.423, allocations: 1.915 MB / 2.84 GB, free: 39.63 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.31e-07/4.423, allocations: 0 / 2.84 GB, free: 39.63 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001899/4.424, allocations: 455.7 kB / 2.841 GB, free: 39.19 MB / 0.9792 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.001394/4.426, allocations: 475.3 kB / 2.841 GB, free: 38.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005869/4.432, allocations: 3.551 MB / 2.845 GB, free: 35.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/4.432, allocations: 0 / 2.845 GB, free: 35.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/4.435, allocations: 1.568 MB / 2.846 GB, free: 33.58 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/4.437, allocations: 414.1 kB / 2.847 GB, free: 33.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/4.446, allocations: 4.528 MB / 2.851 GB, free: 28.63 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/4.448, allocations: 1.578 MB / 2.853 GB, free: 27.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003385/4.451, allocations: 0.7964 MB / 2.853 GB, free: 26.26 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009525/4.452, allocations: 155.3 kB / 2.854 GB, free: 26.11 MB / 0.9792 GB Notification: Performance of SimCode: time 2.295e-06/4.452, allocations: 0 / 2.854 GB, free: 26.11 MB / 0.9792 GB Notification: Performance of Templates: time 0.4873/4.94, allocations: 35.35 MB / 2.888 GB, free: 269.2 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)