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.001217/0.001217, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001264/0.001264, allocations: 192.2 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 13.71 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: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 0.4906 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3766, allocations: 77.93 MB / 0.5667 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002983/0.3796, allocations: 1.621 MB / 0.5683 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3811, allocations: 0.8907 MB / 0.5692 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.3812, allocations: 1.906 kB / 0.5692 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.3812, allocations: 6.141 kB / 0.5692 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.3815, allocations: 27.06 kB / 0.5692 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.3818, allocations: 128.5 kB / 0.5693 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.382, allocations: 78.17 kB / 0.5694 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3821, allocations: 17.38 kB / 0.5694 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3822, allocations: 30.98 kB / 0.5695 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3824, allocations: 36.69 kB / 0.5695 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3824, allocations: 4.469 kB / 0.5695 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.3828, allocations: 288.4 kB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3829, allocations: 8.969 kB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.3829, allocations: 32.19 kB / 0.5698 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3832, allocations: 149.6 kB / 0.57 GB, free: 29.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3832, allocations: 0 / 0.57 GB, free: 29.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3832, allocations: 4.438 kB / 0.57 GB, free: 29.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3832, allocations: 4.844 kB / 0.57 GB, free: 29.96 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.0005236/0.3838, allocations: 405.3 kB / 0.5704 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3838, allocations: 9.219 kB / 0.5704 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3839, allocations: 13.03 kB / 0.5704 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3841, allocations: 184.8 kB / 0.5705 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3841, allocations: 5.5 kB / 0.5706 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3841, allocations: 6.406 kB / 0.5706 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3843, allocations: 70.72 kB / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3843, allocations: 0 / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3844, allocations: 0.8438 kB / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3844, allocations: 3.156 kB / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3845, allocations: 45.2 kB / 0.5707 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.385, allocations: 300.5 kB / 0.571 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3851, allocations: 51.62 kB / 0.571 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.3852, allocations: 28.03 kB / 0.571 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3852, allocations: 1.125 kB / 0.571 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3853, allocations: 45.16 kB / 0.5711 GB, free: 28.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3853, allocations: 0 / 0.5711 GB, free: 28.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003557/0.3856, allocations: 109.2 kB / 0.5712 GB, free: 28.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3857, allocations: 53.94 kB / 0.5712 GB, free: 28.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.3858, allocations: 131.9 kB / 0.5714 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3858, allocations: 31.53 kB / 0.5714 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3858, allocations: 93.48 kB / 0.5715 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3858, allocations: 13.48 kB / 0.5715 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3859, allocations: 20.28 kB / 0.5715 GB, free: 28.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.386, allocations: 323.7 kB / 0.5718 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.386, allocations: 21.09 kB / 0.5718 GB, free: 28.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.3861, allocations: 30.84 kB / 0.5719 GB, free: 28.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3863, allocations: 55.55 kB / 0.5719 GB, free: 28.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3863, allocations: 4.781 kB / 0.5719 GB, free: 28.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002084/0.3865, allocations: 89.5 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3865, allocations: 5.344 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3865, allocations: 1.688 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3866, allocations: 1.375 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3867, allocations: 15.28 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3867, allocations: 0.6562 kB / 0.572 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.3868, allocations: 13.45 kB / 0.5721 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3868, allocations: 2.516 kB / 0.5721 GB, free: 28.11 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 6.542e-05/0.3869, allocations: 122.2 kB / 0.5722 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3869, allocations: 8.438 kB / 0.5722 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3871, allocations: 99.39 kB / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3872, allocations: 2.031 kB / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3872, allocations: 4.875 kB / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3872, allocations: 2.219 kB / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3873, allocations: 186.9 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3873, allocations: 0.5312 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.3874, allocations: 15.92 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3875, allocations: 1.344 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3875, allocations: 2.156 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3875, allocations: 4 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3875, allocations: 0.5625 kB / 0.5725 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3877, allocations: 194.6 kB / 0.5727 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.3877, allocations: 84.41 kB / 0.5727 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3878, allocations: 5.156 kB / 0.5728 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.3879, allocations: 5.453 kB / 0.5728 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3879, allocations: 4.547 kB / 0.5728 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3879, allocations: 3.969 kB / 0.5728 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.388, allocations: 103.5 kB / 0.5729 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.388, allocations: 0 / 0.5729 GB, free: 27.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.3883, allocations: 18.34 kB / 0.5729 GB, free: 27.37 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.0001636/0.3884, allocations: 119.3 kB / 0.573 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3887, allocations: 61.61 kB / 0.5731 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3887, allocations: 0.9062 kB / 0.5731 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-05/0.3888, allocations: 28.97 kB / 0.5731 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3891, allocations: 11.7 kB / 0.5731 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.3895, allocations: 210.4 kB / 0.5733 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3897, allocations: 0.6928 MB / 0.574 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.3897, allocations: 11.03 kB / 0.574 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.3898, allocations: 12.12 kB / 0.574 GB, free: 26.37 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3898, allocations: 1.5 kB / 0.574 GB, free: 26.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003622/0.3934, allocations: 1.044 MB / 0.575 GB, free: 26.32 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)