Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.694/1.694, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.000954/0.0009542, allocations: 186.2 kB / 371.2 MB, free: 10.82 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.375/1.375, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007684/0.0007683, allocations: 99.58 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 16.88 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.003007/0.2085, allocations: 2.864 MB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004013/0.2126, allocations: 2.993 MB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.213, allocations: 7.938 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2146, allocations: 497.8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.215, allocations: 91.36 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.00177/0.2168, allocations: 0.5665 MB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.2182, allocations: 1.431 MB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.2185, allocations: 255.7 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.2193, allocations: 0.5023 MB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008043/0.2201, allocations: 0.5411 MB / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.2205, allocations: 80 kB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2217, allocations: 0.5501 MB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.2222, allocations: 0.5494 MB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.2226, allocations: 328.8 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.2244, allocations: 2.798 MB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2244, allocations: 0 / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2244, allocations: 0 / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.2245, allocations: 0 / 0.9924 GB, free: 14.09 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.00225/0.2267, allocations: 1.776 MB / 0.9941 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2268, allocations: 8.031 kB / 0.9941 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.2322, allocations: 0.6661 MB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.2342, allocations: 1.56 MB / 0.9963 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.2344, allocations: 136.5 kB / 0.9964 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2345, allocations: 35.94 kB / 0.9965 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.2374, allocations: 1.899 MB / 0.9983 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2374, allocations: 0 / 0.9983 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.2376, allocations: 19.98 kB / 0.9984 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2376, allocations: 8 kB / 0.9984 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005093/0.2427, allocations: 2.657 MB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007529/0.2502, allocations: 4.626 MB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.2596, allocations: 2.983 MB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.262, allocations: 1.208 MB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.262, allocations: 12.42 kB / 1.01 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003082/0.2651, allocations: 1.8 MB / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.2651, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61): time 0.007718/0.2729, allocations: 3.692 MB / 1.015 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2729, allocations: 93.67 kB / 1.015 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/0.2766, allocations: 2.684 MB / 1.018 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.2767, allocations: 45.7 kB / 1.018 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/0.2774, allocations: 0.6693 MB / 1.018 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.2776, allocations: 181.5 kB / 1.019 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.2777, allocations: 12 kB / 1.019 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2778, allocations: 326 kB / 1.019 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.2804, allocations: 1.478 MB / 1.02 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.283, allocations: 1.453 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.2875, allocations: 2.258 MB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2875, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005787/0.2933, allocations: 3.011 MB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.2934, allocations: 85.72 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2934, allocations: 0 / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2934, allocations: 4 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.2947, allocations: 199.7 kB / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2947, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.2963, allocations: 131.4 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.2964, allocations: 43.94 kB / 1.027 GB, free: 10.02 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.001349/0.2978, allocations: 0.7645 MB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/0.2984, allocations: 173.9 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/0.3042, allocations: 2.707 MB / 1.031 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3042, allocations: 8 kB / 1.031 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3042, allocations: 3.984 kB / 1.031 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3043, allocations: 3.938 kB / 1.031 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.3075, allocations: 2.29 MB / 1.033 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.3075, allocations: 0 / 1.033 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.3088, allocations: 195.7 kB / 1.033 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.3088, allocations: 4 kB / 1.033 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.3089, allocations: 35.94 kB / 1.033 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3089, allocations: 0 / 1.033 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3089, allocations: 4 kB / 1.033 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.3146, allocations: 2.594 MB / 1.036 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.3157, allocations: 0.569 MB / 1.036 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.3162, allocations: 63.97 kB / 1.036 GB, free: 492 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.3177, allocations: 147.9 kB / 1.037 GB, free: 344 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3179, allocations: 64.41 kB / 1.037 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.3181, allocations: 47.92 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003267/0.3213, allocations: 1.911 MB / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.625e-06/0.3213, allocations: 0 / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001291/0.3226, allocations: 371.8 kB / 1.039 GB, free: 13.95 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.0008599/0.3235, allocations: 277.7 kB / 1.039 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00564/0.3292, allocations: 3.02 MB / 1.042 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3292, allocations: 0 / 1.042 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.3318, allocations: 1.365 MB / 1.043 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.334, allocations: 400.6 kB / 1.044 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/0.3419, allocations: 4.351 MB / 1.048 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.3434, allocations: 1.577 MB / 1.05 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002107/0.3456, allocations: 0.5675 MB / 1.05 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/0.3461, allocations: 131.3 kB / 1.05 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/0.3461, allocations: 4 kB / 1.05 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of Templates: time 0.4758/0.8219, allocations: 29.6 MB / 1.079 GB, free: 84.95 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)