Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 114.1 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6747/0.6747, allocations: 115.1 MB / 407 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 60.05 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3286, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002437/0.331, allocations: 1.564 MB / 0.5591 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3322, allocations: 0.9019 MB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.3323, allocations: 1.375 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3323, allocations: 6.75 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.3325, allocations: 23.06 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.3328, allocations: 147.3 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3329, allocations: 75.72 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.333, allocations: 9.562 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.3331, allocations: 39 kB / 0.5603 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3332, allocations: 40.48 kB / 0.5603 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3333, allocations: 4.625 kB / 0.5603 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.3337, allocations: 280.2 kB / 0.5606 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.3337, allocations: 15.98 kB / 0.5606 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.3337, allocations: 26.08 kB / 0.5606 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.334, allocations: 153.9 kB / 0.5608 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.334, allocations: 1.312 kB / 0.5608 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.334, allocations: 0 / 0.5608 GB, free: 34.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.334, allocations: 0 / 0.5608 GB, free: 34.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004502/0.3344, allocations: 410.3 kB / 0.5612 GB, free: 34.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3345, allocations: 9.391 kB / 0.5612 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3346, allocations: 13.48 kB / 0.5612 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3348, allocations: 188.3 kB / 0.5614 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3348, allocations: 2.75 kB / 0.5614 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3348, allocations: 3.031 kB / 0.5614 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.335, allocations: 69.53 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.335, allocations: 1.078 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.335, allocations: 4.75 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.335, allocations: 2.406 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3352, allocations: 44.11 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3355, allocations: 298.4 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3357, allocations: 59.14 kB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.3358, allocations: 27.31 kB / 0.5618 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3358, allocations: 4.5 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3358, allocations: 35.48 kB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3358, allocations: 1.031 kB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003169/0.3361, allocations: 106.3 kB / 0.562 GB, free: 33.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3362, allocations: 55.41 kB / 0.562 GB, free: 33.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.3362, allocations: 132.5 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3363, allocations: 27.02 kB / 0.5622 GB, free: 33.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.3363, allocations: 102.5 kB / 0.5623 GB, free: 33.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3363, allocations: 11.47 kB / 0.5623 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3364, allocations: 20.41 kB / 0.5623 GB, free: 33.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.3364, allocations: 324.5 kB / 0.5626 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.3365, allocations: 22.92 kB / 0.5627 GB, free: 32.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.3366, allocations: 25.47 kB / 0.5627 GB, free: 32.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3367, allocations: 56.23 kB / 0.5627 GB, free: 32.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3367, allocations: 0 / 0.5627 GB, free: 32.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001834/0.3369, allocations: 89.41 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3369, allocations: 5.562 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3369, allocations: 1.188 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.337, allocations: 1.938 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3371, allocations: 21.7 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3371, allocations: 1.938 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.3371, allocations: 5.766 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3372, allocations: 2.672 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 5.357e-05/0.3372, allocations: 118.4 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.3373, allocations: 7.531 kB / 0.563 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3375, allocations: 104.2 kB / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3375, allocations: 3.656 kB / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3375, allocations: 0.7031 kB / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3375, allocations: 0 / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.3377, allocations: 188 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3377, allocations: 0 / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.3378, allocations: 14.88 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3378, allocations: 2.391 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3378, allocations: 1 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3378, allocations: 0.5156 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3378, allocations: 1.219 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.338, allocations: 190.8 kB / 0.5635 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.338, allocations: 83.08 kB / 0.5635 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3381, allocations: 1.938 kB / 0.5635 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.3381, allocations: 5.766 kB / 0.5635 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3382, allocations: 9.578 kB / 0.5636 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3382, allocations: 2.594 kB / 0.5636 GB, free: 32.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.3383, allocations: 107.7 kB / 0.5637 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3383, allocations: 0.625 kB / 0.5637 GB, free: 32.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.3385, allocations: 30.38 kB / 0.5637 GB, free: 32.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001314/0.3387, allocations: 109.6 kB / 0.5638 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3389, allocations: 63.48 kB / 0.5639 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3389, allocations: 3.938 kB / 0.5639 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.3389, allocations: 31.69 kB / 0.5639 GB, free: 32.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3392, allocations: 11.89 kB / 0.5639 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3396, allocations: 197.1 kB / 0.5641 GB, free: 31.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.3397, allocations: 0.6939 MB / 0.5648 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.3397, allocations: 10.41 kB / 0.5648 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3398, allocations: 12.09 kB / 0.5648 GB, free: 31.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3398, allocations: 0 / 0.5648 GB, free: 31.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003561/0.3433, allocations: 1.096 MB / 0.5659 GB, free: 31.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)