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.001082/0.001082, allocations: 101.2 kB / 15.98 MB, free: 6.348 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.001146/0.001146, allocations: 194.7 kB / 16.91 MB, free: 6.191 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7689/0.7689, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.4906 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3515, allocations: 77.92 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002931/0.3545, allocations: 1.624 MB / 0.5683 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3559, allocations: 0.8947 MB / 0.5691 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.356, allocations: 1.812 kB / 0.5691 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.3561, allocations: 1.359 kB / 0.5692 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.3563, allocations: 28.33 kB / 0.5692 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3568, allocations: 121.9 kB / 0.5693 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3569, allocations: 73.52 kB / 0.5694 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.357, allocations: 18.91 kB / 0.5694 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3571, allocations: 33.88 kB / 0.5694 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3573, allocations: 40.06 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3573, allocations: 4.875 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.3577, allocations: 284.6 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3577, allocations: 13.95 kB / 0.5697 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3578, allocations: 31.56 kB / 0.5698 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3581, allocations: 149.1 kB / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3581, allocations: 0 / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3581, allocations: 4.75 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3581, allocations: 0 / 0.5699 GB, free: 30.61 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.0004915/0.3586, allocations: 407.5 kB / 0.5703 GB, free: 30.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3586, allocations: 11.09 kB / 0.5703 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3588, allocations: 12.36 kB / 0.5703 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3589, allocations: 187.4 kB / 0.5705 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3589, allocations: 9.594 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3589, allocations: 4.203 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3591, allocations: 69 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3591, allocations: 1.062 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3592, allocations: 4.781 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3592, allocations: 1.797 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3593, allocations: 42.3 kB / 0.5706 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3597, allocations: 301 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3599, allocations: 54.7 kB / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.36, allocations: 28.47 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.36, allocations: 4.562 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.36, allocations: 45.38 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.36, allocations: 0 / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003651/0.3604, allocations: 106.1 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.3604, allocations: 52.59 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3605, allocations: 131.1 kB / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3605, allocations: 30.2 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3606, allocations: 94.78 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3606, allocations: 10.17 kB / 0.5715 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3606, allocations: 21.95 kB / 0.5715 GB, free: 29.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.3607, allocations: 324.2 kB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.3608, allocations: 22.17 kB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.3609, allocations: 30.2 kB / 0.5718 GB, free: 28.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.361, allocations: 51.8 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.361, allocations: 1.156 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000212/0.3612, allocations: 88.61 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3613, allocations: 6.547 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3613, allocations: 0 / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3613, allocations: 1.469 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3614, allocations: 15.34 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3614, allocations: 1.125 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.3615, allocations: 17.47 kB / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.3615, allocations: 2.219 kB / 0.572 GB, free: 28.76 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.428e-05/0.3616, allocations: 118.5 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.3616, allocations: 8.438 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3619, allocations: 101.2 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3619, allocations: 9.688 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3619, allocations: 1.156 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3619, allocations: 0.625 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3621, allocations: 187 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3621, allocations: 1.125 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.3622, allocations: 18.39 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3622, allocations: 2.062 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3622, allocations: 0 / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3622, allocations: 1.672 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3622, allocations: 1.812 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3624, allocations: 189.3 kB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.3625, allocations: 84.05 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3625, allocations: 5.344 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.3626, allocations: 6 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3626, allocations: 4.859 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3626, allocations: 3.578 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.3627, allocations: 103.1 kB / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3627, allocations: 0 / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3632, allocations: 23.44 kB / 0.5728 GB, free: 28.02 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.0001478/0.3633, allocations: 115 kB / 0.573 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3636, allocations: 64.84 kB / 0.573 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3636, allocations: 1.969 kB / 0.573 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.3637, allocations: 31.59 kB / 0.573 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.364, allocations: 15.28 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3644, allocations: 207.2 kB / 0.5733 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3645, allocations: 0.6935 MB / 0.5739 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.3646, allocations: 9.453 kB / 0.5739 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3646, allocations: 12.73 kB / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3646, allocations: 0.7188 kB / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of Templates: time 0.003654/0.3683, allocations: 1.05 MB / 0.575 GB, free: 26.96 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)