Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 104.4 kB / 15.98 MB, free: 6.34 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.001666/0.001666, allocations: 199 kB / 16.91 MB, free: 6.184 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9096/0.9096, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3151, allocations: 77.91 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005494/0.3206, allocations: 4.563 MB / 0.5711 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.3215, allocations: 0.8161 MB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.3216, allocations: 2 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3218, allocations: 23.88 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/0.3219, allocations: 25.56 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.3225, allocations: 152.3 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3227, allocations: 178.9 kB / 0.5723 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3228, allocations: 18.77 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.323, allocations: 85.41 kB / 0.5724 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3231, allocations: 74.69 kB / 0.5725 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3231, allocations: 13.91 kB / 0.5725 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.3235, allocations: 160.5 kB / 0.5726 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.3235, allocations: 28.5 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.3236, allocations: 71.08 kB / 0.5727 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.324, allocations: 238.5 kB / 0.573 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.324, allocations: 0.5625 kB / 0.573 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.324, allocations: 0 / 0.573 GB, free: 28.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.324, allocations: 0 / 0.573 GB, free: 28.36 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007905/0.3248, allocations: 482.8 kB / 0.5734 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3249, allocations: 11.12 kB / 0.5734 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.3249, allocations: 15.94 kB / 0.5735 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.325, allocations: 187.5 kB / 0.5736 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3251, allocations: 8.781 kB / 0.5736 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3251, allocations: 12.72 kB / 0.5737 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.3254, allocations: 120.1 kB / 0.5738 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3254, allocations: 5.016 kB / 0.5738 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3254, allocations: 1.188 kB / 0.5738 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3254, allocations: 1.156 kB / 0.5738 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3258, allocations: 141.7 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.3267, allocations: 470.1 kB / 0.5744 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.327, allocations: 128.3 kB / 0.5745 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.3272, allocations: 70.62 kB / 0.5745 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.3284, allocations: 0.9612 MB / 0.5755 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3285, allocations: 40.8 kB / 0.5755 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.3285, allocations: 0.75 kB / 0.5755 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006534/0.3291, allocations: 212.1 kB / 0.5757 GB, free: 26.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3292, allocations: 52.47 kB / 0.5758 GB, free: 26.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3293, allocations: 166 kB / 0.5759 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3293, allocations: 27.89 kB / 0.576 GB, free: 25.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3294, allocations: 108.4 kB / 0.5761 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3294, allocations: 43.91 kB / 0.5761 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.3295, allocations: 55.09 kB / 0.5762 GB, free: 25.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.3296, allocations: 326.7 kB / 0.5765 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3298, allocations: 75.33 kB / 0.5765 GB, free: 25.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.33, allocations: 112.6 kB / 0.5767 GB, free: 25.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.3304, allocations: 170.1 kB / 0.5768 GB, free: 25.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3304, allocations: 1.438 kB / 0.5768 GB, free: 25.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005626/0.331, allocations: 245.1 kB / 0.577 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.331, allocations: 7.906 kB / 0.5771 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.331, allocations: 1.156 kB / 0.5771 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3311, allocations: 5.656 kB / 0.5771 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3313, allocations: 56.3 kB / 0.5771 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3314, allocations: 3.031 kB / 0.5771 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3315, allocations: 28.61 kB / 0.5771 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3316, allocations: 14.97 kB / 0.5772 GB, free: 25.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 8.726e-05/0.3316, allocations: 125.9 kB / 0.5773 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3317, allocations: 12.91 kB / 0.5773 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.3322, allocations: 183.3 kB / 0.5775 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3322, allocations: 1.031 kB / 0.5775 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3322, allocations: 3.438 kB / 0.5775 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3322, allocations: 1.359 kB / 0.5775 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3324, allocations: 210.4 kB / 0.5777 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3324, allocations: 0 / 0.5777 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3326, allocations: 32.78 kB / 0.5777 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3326, allocations: 1 kB / 0.5777 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3326, allocations: 11.45 kB / 0.5777 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3326, allocations: 0.9688 kB / 0.5777 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3326, allocations: 0 / 0.5777 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.333, allocations: 257.7 kB / 0.578 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.3331, allocations: 101.1 kB / 0.5781 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3331, allocations: 10.55 kB / 0.5781 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3332, allocations: 14.31 kB / 0.5781 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.3333, allocations: 12.12 kB / 0.5781 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3333, allocations: 2.25 kB / 0.5781 GB, free: 24.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.3334, allocations: 117.6 kB / 0.5782 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3334, allocations: 1.219 kB / 0.5782 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.3338, allocations: 59.03 kB / 0.5783 GB, free: 24.35 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 (12): * Single equations (assignments): 12 * 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.0002544/0.334, allocations: 163.1 kB / 0.5784 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.3345, allocations: 178.8 kB / 0.5786 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3345, allocations: 6.469 kB / 0.5786 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3347, allocations: 69.56 kB / 0.5787 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3351, allocations: 15.2 kB / 0.5787 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.3356, allocations: 289.6 kB / 0.579 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3357, allocations: 0.7043 MB / 0.5796 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.3359, allocations: 18.7 kB / 0.5797 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.3359, allocations: 17.58 kB / 0.5797 GB, free: 23.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3359, allocations: 1.219 kB / 0.5797 GB, free: 23.24 MB / 446.1 MB Notification: Performance of Templates: time 0.005598/0.3415, allocations: 2.623 MB / 0.5822 GB, free: 22.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)