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.001269/0.001269, allocations: 108.8 kB / 17.03 MB, free: 5.656 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.001307/0.001307, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.318, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002661/0.3207, allocations: 1.562 MB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.322, allocations: 0.9001 MB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.3221, allocations: 1.25 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3221, allocations: 9.422 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.3223, allocations: 24.5 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3228, allocations: 142.7 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3229, allocations: 80.58 kB / 0.5602 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.323, allocations: 8.547 kB / 0.5602 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.3231, allocations: 34.03 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.3233, allocations: 44.78 kB / 0.5603 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3233, allocations: 5.719 kB / 0.5603 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.3237, allocations: 281.2 kB / 0.5606 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.3238, allocations: 8.266 kB / 0.5606 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3238, allocations: 32.12 kB / 0.5606 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3241, allocations: 149.7 kB / 0.5608 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3241, allocations: 0 / 0.5608 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3241, allocations: 3.625 kB / 0.5608 GB, free: 34.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3241, allocations: 0 / 0.5608 GB, free: 34.75 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.0004881/0.3246, allocations: 405.2 kB / 0.5611 GB, free: 34.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3246, allocations: 10.06 kB / 0.5612 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3248, allocations: 17.72 kB / 0.5612 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.325, allocations: 193.9 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.325, allocations: 3.375 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.325, allocations: 3.5 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3252, allocations: 66.73 kB / 0.5614 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3252, allocations: 0 / 0.5614 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3252, allocations: 4 kB / 0.5614 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3252, allocations: 1.344 kB / 0.5614 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3254, allocations: 41.83 kB / 0.5615 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3258, allocations: 301.3 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3259, allocations: 54.14 kB / 0.5618 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/0.326, allocations: 27.64 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.326, allocations: 3.547 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.326, allocations: 34.12 kB / 0.5619 GB, free: 33.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.326, allocations: 0 / 0.5619 GB, free: 33.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003357/0.3264, allocations: 109.2 kB / 0.562 GB, free: 33.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3264, allocations: 57.44 kB / 0.562 GB, free: 33.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.3265, allocations: 132.2 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3265, allocations: 26.98 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3266, allocations: 97.98 kB / 0.5623 GB, free: 33.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3266, allocations: 10.56 kB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.3266, allocations: 27.69 kB / 0.5623 GB, free: 33.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3267, allocations: 322.3 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.3267, allocations: 20.92 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.3268, allocations: 23.33 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.327, allocations: 55.81 kB / 0.5627 GB, free: 32.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.327, allocations: 0 / 0.5627 GB, free: 32.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002043/0.3272, allocations: 97.98 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3272, allocations: 4.625 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3272, allocations: 2.094 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3272, allocations: 1.312 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3274, allocations: 14.39 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3274, allocations: 0.5938 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.3274, allocations: 5.938 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3275, allocations: 3.438 kB / 0.5628 GB, free: 32.91 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.277e-05/0.3275, allocations: 118.1 kB / 0.563 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3276, allocations: 12.19 kB / 0.563 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3278, allocations: 108 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3278, allocations: 2.078 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3278, allocations: 1.078 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3278, allocations: 0.5625 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.328, allocations: 188.9 kB / 0.5632 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.328, allocations: 0.75 kB / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.3281, allocations: 15.98 kB / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3281, allocations: 0 / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3281, allocations: 2.109 kB / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3281, allocations: 0.625 kB / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3281, allocations: 1.281 kB / 0.5633 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3284, allocations: 194 kB / 0.5635 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.3284, allocations: 83.89 kB / 0.5635 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3284, allocations: 2.172 kB / 0.5635 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.3285, allocations: 8.594 kB / 0.5635 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3286, allocations: 9.297 kB / 0.5636 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3286, allocations: 3.172 kB / 0.5636 GB, free: 32.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.3286, allocations: 100.8 kB / 0.5637 GB, free: 32.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3286, allocations: 0 / 0.5637 GB, free: 32.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3289, allocations: 30.98 kB / 0.5637 GB, free: 32.16 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.000138/0.329, allocations: 111.8 kB / 0.5638 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3292, allocations: 58.94 kB / 0.5638 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3293, allocations: 5.125 kB / 0.5639 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.3293, allocations: 27.11 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3296, allocations: 17.08 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.33, allocations: 192.3 kB / 0.5641 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3301, allocations: 0.6981 MB / 0.5648 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.3301, allocations: 6.703 kB / 0.5648 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.3302, allocations: 11.33 kB / 0.5648 GB, free: 31.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3302, allocations: 0 / 0.5648 GB, free: 31.19 MB / 446.1 MB Notification: Performance of Templates: time 0.003568/0.3338, allocations: 1.096 MB / 0.5658 GB, free: 31.13 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)