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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 308.1 MB, free: 4.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.001357/0.001357, allocations: 190.2 kB / 376.9 MB, free: 1.773 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.403/1.403, allocations: 205.1 MB / 0.6354 GB, free: 9.754 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.0009426/0.0009425, allocations: 102.6 kB / 0.748 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 51.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.235, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.005213/0.2402, allocations: 3.393 MB / 0.9856 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004746/0.245, allocations: 3.292 MB / 0.9888 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.2455, allocations: 0 / 0.9888 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.2472, allocations: 0.5134 MB / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.2478, allocations: 99.34 kB / 0.9894 GB, free: 3.008 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2501, allocations: 0.6121 MB / 0.99 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.2521, allocations: 1.55 MB / 0.9915 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.2527, allocations: 245.1 kB / 0.9917 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.2538, allocations: 0.5139 MB / 0.9922 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.2552, allocations: 0.576 MB / 0.9928 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.2557, allocations: 84 kB / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.2571, allocations: 0.5852 MB / 0.9934 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.2577, allocations: 0.5649 MB / 0.994 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.2592, allocations: 0.8005 MB / 0.9948 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.2632, allocations: 3.326 MB / 0.998 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2632, allocations: 0 / 0.998 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2632, allocations: 0 / 0.998 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.181e-05/0.2633, allocations: 0 / 0.998 GB, free: 10.12 MB / 0.7292 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.005306/0.2686, allocations: 2.086 MB / 1 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2686, allocations: 8.031 kB / 1 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/0.275, allocations: 0.6427 MB / 1.001 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.2784, allocations: 1.56 MB / 1.002 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.2787, allocations: 132.5 kB / 1.002 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.2789, allocations: 35.92 kB / 1.002 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/0.2826, allocations: 1.884 MB / 1.004 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2826, allocations: 3.938 kB / 1.004 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.2827, allocations: 19.98 kB / 1.004 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2828, allocations: 12 kB / 1.004 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005728/0.2885, allocations: 2.61 MB / 1.007 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009437/0.298, allocations: 4.587 MB / 1.011 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.308, allocations: 2.893 MB / 1.014 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.3104, allocations: 1.185 MB / 1.015 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.3105, allocations: 16.41 kB / 1.015 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003278/0.3138, allocations: 1.788 MB / 1.017 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 6.512e-06/0.3138, allocations: 0 / 1.017 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.008335/0.3221, allocations: 3.637 MB / 1.021 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.3222, allocations: 93.67 kB / 1.021 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5012/0.8234, allocations: 2.687 MB / 1.023 GB, free: 97.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.8239, allocations: 50.48 kB / 1.023 GB, free: 97.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.825, allocations: 0.6649 MB / 1.024 GB, free: 97.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.8252, allocations: 181.4 kB / 1.024 GB, free: 97.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.8256, allocations: 164.2 kB / 1.024 GB, free: 97.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.8257, allocations: 330.3 kB / 1.025 GB, free: 96.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.8287, allocations: 1.45 MB / 1.026 GB, free: 96.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.8313, allocations: 1.44 MB / 1.027 GB, free: 96.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.8359, allocations: 2.22 MB / 1.03 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8359, allocations: 0 / 1.03 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006756/0.8427, allocations: 2.976 MB / 1.033 GB, free: 96.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.8428, allocations: 80.98 kB / 1.033 GB, free: 96.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8428, allocations: 0.625 kB / 1.033 GB, free: 96.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.8428, allocations: 2.312 kB / 1.033 GB, free: 96.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.8442, allocations: 189.5 kB / 1.033 GB, free: 96.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.8442, allocations: 6.281 kB / 1.033 GB, free: 96.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.8459, allocations: 107.2 kB / 1.033 GB, free: 96.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.846, allocations: 42.17 kB / 1.033 GB, free: 96.36 MB / 0.7448 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 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.cooCap.checkBoundsTCon[4],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001539/0.8476, allocations: 0.7722 MB / 1.034 GB, free: 96.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/0.8481, allocations: 173.5 kB / 1.034 GB, free: 96.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006585/0.8547, allocations: 2.661 MB / 1.036 GB, free: 95.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8548, allocations: 6.844 kB / 1.036 GB, free: 95.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8548, allocations: 2.438 kB / 1.036 GB, free: 95.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.8548, allocations: 8.281 kB / 1.036 GB, free: 95.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.8588, allocations: 2.294 MB / 1.039 GB, free: 94.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.8589, allocations: 0.5 kB / 1.039 GB, free: 94.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.8603, allocations: 181.5 kB / 1.039 GB, free: 94.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.8603, allocations: 2.594 kB / 1.039 GB, free: 94.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.8605, allocations: 41.22 kB / 1.039 GB, free: 94.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.8605, allocations: 4.125 kB / 1.039 GB, free: 94.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8605, allocations: 4.75 kB / 1.039 GB, free: 94.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.8708, allocations: 5.168 MB / 1.044 GB, free: 92.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.8722, allocations: 0.5789 MB / 1.045 GB, free: 91.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/0.8727, allocations: 59.58 kB / 1.045 GB, free: 91.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.8743, allocations: 120.2 kB / 1.045 GB, free: 91.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.8746, allocations: 57.09 kB / 1.045 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.8748, allocations: 48.88 kB / 1.045 GB, free: 91.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003908/0.8787, allocations: 1.925 MB / 1.047 GB, free: 91.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/0.8787, allocations: 0.5625 kB / 1.047 GB, free: 91.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001595/0.8803, allocations: 368.5 kB / 1.047 GB, free: 91.18 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009838/0.8813, allocations: 263.9 kB / 1.047 GB, free: 91.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005958/0.8872, allocations: 2.99 MB / 1.05 GB, free: 90 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8873, allocations: 0.7812 kB / 1.05 GB, free: 90 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.89, allocations: 1.342 MB / 1.052 GB, free: 89.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.8925, allocations: 413.7 kB / 1.052 GB, free: 89.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/0.9011, allocations: 4.831 MB / 1.057 GB, free: 87.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.9025, allocations: 1.595 MB / 1.058 GB, free: 86.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002382/0.9049, allocations: 0.567 MB / 1.059 GB, free: 86.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/0.9057, allocations: 129.8 kB / 1.059 GB, free: 86.15 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.9057, allocations: 0 / 1.059 GB, free: 86.15 MB / 0.7448 GB Notification: Performance of Templates: time 0.06061/0.9663, allocations: 31.55 MB / 1.09 GB, free: 84.15 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)