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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.4 MB / 303.4 MB, free: 8.035 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.001034/0.001034, allocations: 179 kB / 372 MB, free: 10.21 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.634/1.634, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008016/0.0008017, allocations: 81.39 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004348, allocations: 13.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.003056/0.2437, allocations: 2.857 MB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.2479, allocations: 2.998 MB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.2484, allocations: 8 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2499, allocations: 489.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.2502, allocations: 103.3 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.00182/0.2521, allocations: 0.5701 MB / 0.9865 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2534, allocations: 1.243 MB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.2538, allocations: 231.9 kB / 0.9879 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008018/0.2546, allocations: 0.4984 MB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008313/0.2555, allocations: 0.545 MB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.2558, allocations: 80 kB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.257, allocations: 0.5579 MB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.2576, allocations: 0.5377 MB / 0.9901 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.2581, allocations: 332.8 kB / 0.9904 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.2606, allocations: 2.801 MB / 0.9931 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2606, allocations: 0 / 0.9931 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2606, allocations: 0 / 0.9931 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.259e-05/0.2607, allocations: 0 / 0.9931 GB, free: 13.76 MB / 0.6198 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.003859/0.2646, allocations: 1.791 MB / 0.9949 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2646, allocations: 8.031 kB / 0.9949 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/0.2708, allocations: 0.6691 MB / 0.9955 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.2743, allocations: 1.486 MB / 0.997 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.2745, allocations: 136 kB / 0.9971 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.2746, allocations: 32 kB / 0.9971 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.2777, allocations: 1.899 MB / 0.999 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2777, allocations: 0 / 0.999 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.2778, allocations: 19.94 kB / 0.999 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2778, allocations: 4 kB / 0.999 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.2824, allocations: 2.669 MB / 1.002 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00866/0.2911, allocations: 4.615 MB / 1.006 GB, free: 244 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.3013, allocations: 2.983 MB / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.3044, allocations: 1.208 MB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3046, allocations: 16.42 kB / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004062/0.3086, allocations: 1.792 MB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=61): time 4.689e-06/0.3087, allocations: 3.938 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61): time 0.008341/0.317, allocations: 3.692 MB / 1.016 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.3171, allocations: 97.66 kB / 1.016 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/0.3219, allocations: 2.676 MB / 1.018 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/0.3222, allocations: 53.64 kB / 1.018 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.323, allocations: 0.6615 MB / 1.019 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.3233, allocations: 189.4 kB / 1.019 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3235, allocations: 12 kB / 1.019 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3236, allocations: 326 kB / 1.019 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.3263, allocations: 1.474 MB / 1.021 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.3289, allocations: 1.461 MB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.3314, allocations: 1.227 MB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3314, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005921/0.3373, allocations: 3.03 MB / 1.027 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.3374, allocations: 83.38 kB / 1.027 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3374, allocations: 3.984 kB / 1.027 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3375, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.3388, allocations: 195.7 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3388, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3403, allocations: 119.6 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3404, allocations: 47.94 kB / 1.027 GB, free: 10.77 MB / 0.6511 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.001328/0.3417, allocations: 0.7661 MB / 1.028 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005929/0.3423, allocations: 173.9 kB / 1.028 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/0.3483, allocations: 2.699 MB / 1.03 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3483, allocations: 8 kB / 1.031 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3483, allocations: 0 / 1.031 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3483, allocations: 3.984 kB / 1.031 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.3517, allocations: 2.294 MB / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3518, allocations: 3.938 kB / 1.033 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.353, allocations: 195.7 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.3531, allocations: 4 kB / 1.033 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3532, allocations: 35.94 kB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3532, allocations: 0 / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3532, allocations: 4 kB / 1.033 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/0.359, allocations: 2.59 MB / 1.036 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.3603, allocations: 0.5729 MB / 1.036 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004653/0.3608, allocations: 59.92 kB / 1.036 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.3625, allocations: 147.8 kB / 1.036 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.3627, allocations: 64.47 kB / 1.036 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.3628, allocations: 55.86 kB / 1.036 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003815/0.3667, allocations: 1.915 MB / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.164e-06/0.3667, allocations: 0 / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00194/0.3686, allocations: 371.8 kB / 1.039 GB, free: 14.7 MB / 0.6667 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.001354/0.37, allocations: 273.3 kB / 1.039 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006166/0.3762, allocations: 3.028 MB / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3762, allocations: 0 / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/0.379, allocations: 1.365 MB / 1.043 GB, free: 10 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.3818, allocations: 414.4 kB / 1.044 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/0.3908, allocations: 4.344 MB / 1.048 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.3924, allocations: 1.58 MB / 1.049 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002415/0.3948, allocations: 0.5714 MB / 1.05 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/0.3955, allocations: 123.3 kB / 1.05 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/0.3955, allocations: 0 / 1.05 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of Templates: time 0.4481/0.8436, allocations: 29.53 MB / 1.079 GB, free: 84.41 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)