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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4629/0.4629, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 100.7 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 51.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3026, allocations: 70.06 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005025/0.3077, allocations: 4.576 MB / 0.562 GB, free: 40.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.3086, allocations: 0.8296 MB / 0.5628 GB, free: 39.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3086, allocations: 0 / 0.5628 GB, free: 39.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.3088, allocations: 23.83 kB / 0.5628 GB, free: 39.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.3089, allocations: 35.7 kB / 0.5628 GB, free: 39.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.3093, allocations: 143.6 kB / 0.563 GB, free: 39.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3094, allocations: 171.4 kB / 0.5631 GB, free: 39.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.3095, allocations: 17.12 kB / 0.5631 GB, free: 39.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3096, allocations: 71.75 kB / 0.5632 GB, free: 39.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.3097, allocations: 71.67 kB / 0.5633 GB, free: 39.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3097, allocations: 8 kB / 0.5633 GB, free: 39.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.31, allocations: 147.7 kB / 0.5634 GB, free: 39.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.3101, allocations: 23.91 kB / 0.5635 GB, free: 39.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3101, allocations: 63.7 kB / 0.5635 GB, free: 39.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3104, allocations: 229.5 kB / 0.5637 GB, free: 38.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3104, allocations: 4 kB / 0.5637 GB, free: 38.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3104, allocations: 0 / 0.5637 GB, free: 38.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3104, allocations: 0 / 0.5637 GB, free: 38.8 MB / 410.7 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.0007306/0.3112, allocations: 482.9 kB / 0.5642 GB, free: 38.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3112, allocations: 12.03 kB / 0.5642 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3113, allocations: 16.75 kB / 0.5642 GB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.3114, allocations: 187.9 kB / 0.5644 GB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3114, allocations: 12.31 kB / 0.5644 GB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3114, allocations: 12.38 kB / 0.5644 GB, free: 38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3117, allocations: 123.8 kB / 0.5645 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3117, allocations: 0 / 0.5645 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3117, allocations: 4 kB / 0.5645 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3117, allocations: 4 kB / 0.5646 GB, free: 37.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.3121, allocations: 143.9 kB / 0.5647 GB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.3129, allocations: 468.3 kB / 0.5651 GB, free: 37.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3132, allocations: 122.5 kB / 0.5653 GB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3133, allocations: 72.81 kB / 0.5653 GB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.3145, allocations: 0.9648 MB / 0.5663 GB, free: 35.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.3145, allocations: 30.56 kB / 0.5663 GB, free: 35.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3145, allocations: 3.938 kB / 0.5663 GB, free: 35.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006073/0.3151, allocations: 217.2 kB / 0.5665 GB, free: 35.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3152, allocations: 51.41 kB / 0.5666 GB, free: 35.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3153, allocations: 163.3 kB / 0.5667 GB, free: 35.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3153, allocations: 29.7 kB / 0.5667 GB, free: 35.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.3153, allocations: 108.3 kB / 0.5668 GB, free: 35.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3154, allocations: 39.45 kB / 0.5669 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.3154, allocations: 57.59 kB / 0.5669 GB, free: 35.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.3155, allocations: 322.8 kB / 0.5672 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3157, allocations: 71.95 kB / 0.5673 GB, free: 34.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3159, allocations: 112.9 kB / 0.5674 GB, free: 34.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.3163, allocations: 169.7 kB / 0.5676 GB, free: 34.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3163, allocations: 0 / 0.5676 GB, free: 34.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004858/0.3168, allocations: 248.1 kB / 0.5678 GB, free: 34.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3168, allocations: 8 kB / 0.5678 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3168, allocations: 0 / 0.5678 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3169, allocations: 3.938 kB / 0.5678 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3171, allocations: 63.89 kB / 0.5679 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3171, allocations: 0 / 0.5679 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3173, allocations: 39.77 kB / 0.5679 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3173, allocations: 11.98 kB / 0.5679 GB, free: 34.11 MB / 410.7 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 6.247e-05/0.3174, allocations: 121.8 kB / 0.5681 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3174, allocations: 11.89 kB / 0.5681 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.3178, allocations: 186.8 kB / 0.5682 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3179, allocations: 0 / 0.5682 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3179, allocations: 3.938 kB / 0.5682 GB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3179, allocations: 3.984 kB / 0.5683 GB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3181, allocations: 213.5 kB / 0.5685 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3181, allocations: 0 / 0.5685 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3182, allocations: 27.98 kB / 0.5685 GB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3183, allocations: 0 / 0.5685 GB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3183, allocations: 7.922 kB / 0.5685 GB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3183, allocations: 7.938 kB / 0.5685 GB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3183, allocations: 4 kB / 0.5685 GB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.319, allocations: 0.8765 MB / 0.5694 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.319, allocations: 100.9 kB / 0.5695 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.319, allocations: 4 kB / 0.5695 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3192, allocations: 11.98 kB / 0.5695 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3192, allocations: 15.97 kB / 0.5695 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3192, allocations: 0 / 0.5695 GB, free: 32.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.3193, allocations: 118.1 kB / 0.5696 GB, free: 32.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 0 / 0.5696 GB, free: 32.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.3197, allocations: 56.12 kB / 0.5696 GB, free: 32.22 MB / 410.7 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.0002143/0.3199, allocations: 163.6 kB / 0.5698 GB, free: 32.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.3203, allocations: 167.8 kB / 0.57 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3204, allocations: 0 / 0.57 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3205, allocations: 71.83 kB / 0.57 GB, free: 31.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3209, allocations: 26.69 kB / 0.5701 GB, free: 31.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3213, allocations: 429.7 kB / 0.5705 GB, free: 31.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3214, allocations: 0.7087 MB / 0.5712 GB, free: 30.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3215, allocations: 17.03 kB / 0.5712 GB, free: 30.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.3216, allocations: 19.42 kB / 0.5712 GB, free: 30.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3216, allocations: 0 / 0.5712 GB, free: 30.56 MB / 410.7 MB Notification: Performance of Templates: time 0.004453/0.326, allocations: 2.599 MB / 0.5737 GB, free: 27.98 MB / 410.7 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)