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.001293/0.001293, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.001318/0.001318, allocations: 195 kB / 17.98 MB, free: 5.031 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7241/0.7241, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 60.36 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005036/0.3165, allocations: 4.538 MB / 0.562 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.3175, allocations: 0.8098 MB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.3175, allocations: 1.125 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3177, allocations: 32.48 kB / 0.5628 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.3178, allocations: 35.58 kB / 0.5629 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.3183, allocations: 173.3 kB / 0.563 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3184, allocations: 176.2 kB / 0.5632 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.3185, allocations: 25.73 kB / 0.5632 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3187, allocations: 72.7 kB / 0.5633 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3188, allocations: 79.75 kB / 0.5634 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3188, allocations: 17.84 kB / 0.5634 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3192, allocations: 158.4 kB / 0.5635 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.3192, allocations: 35.06 kB / 0.5636 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.3193, allocations: 63.45 kB / 0.5636 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3196, allocations: 237.6 kB / 0.5638 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3197, allocations: 0 / 0.5638 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3197, allocations: 0 / 0.5638 GB, free: 32.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3197, allocations: 0 / 0.5638 GB, free: 32.41 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.0007599/0.3204, allocations: 482.9 kB / 0.5643 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3205, allocations: 13.22 kB / 0.5643 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.3205, allocations: 14 kB / 0.5643 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.3206, allocations: 189.3 kB / 0.5645 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3207, allocations: 10.52 kB / 0.5645 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3207, allocations: 11.47 kB / 0.5645 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.321, allocations: 124.5 kB / 0.5647 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.321, allocations: 5.219 kB / 0.5647 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.321, allocations: 5.125 kB / 0.5647 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.321, allocations: 1.094 kB / 0.5647 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.3214, allocations: 140.7 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.3223, allocations: 465.8 kB / 0.5652 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.3226, allocations: 124.7 kB / 0.5654 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3228, allocations: 72.89 kB / 0.5654 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.324, allocations: 0.9598 MB / 0.5664 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.324, allocations: 32.81 kB / 0.5664 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3241, allocations: 0.7188 kB / 0.5664 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006371/0.3247, allocations: 219.3 kB / 0.5666 GB, free: 30.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.3247, allocations: 53.88 kB / 0.5667 GB, free: 30.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3249, allocations: 163.8 kB / 0.5668 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3249, allocations: 30.77 kB / 0.5668 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.3249, allocations: 109 kB / 0.567 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.325, allocations: 35.44 kB / 0.567 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.3251, allocations: 49.7 kB / 0.567 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.3251, allocations: 327 kB / 0.5673 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.3253, allocations: 72.62 kB / 0.5674 GB, free: 29.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3256, allocations: 114.4 kB / 0.5675 GB, free: 29.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.326, allocations: 173.3 kB / 0.5677 GB, free: 29.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.326, allocations: 1.469 kB / 0.5677 GB, free: 29.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005244/0.3265, allocations: 241.2 kB / 0.5679 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3265, allocations: 8.547 kB / 0.5679 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3265, allocations: 3.938 kB / 0.5679 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3266, allocations: 7.25 kB / 0.5679 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3268, allocations: 59.8 kB / 0.568 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3268, allocations: 2.594 kB / 0.568 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.327, allocations: 28.73 kB / 0.568 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.327, allocations: 7.281 kB / 0.568 GB, free: 29.23 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 7.629e-05/0.3271, allocations: 125.6 kB / 0.5682 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.3272, allocations: 13.89 kB / 0.5682 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.3276, allocations: 184.6 kB / 0.5683 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3277, allocations: 1.406 kB / 0.5683 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3277, allocations: 0.5156 kB / 0.5683 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3277, allocations: 4.406 kB / 0.5683 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3279, allocations: 213.5 kB / 0.5686 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3279, allocations: 9.5 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.328, allocations: 27.08 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.328, allocations: 3.672 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3281, allocations: 5.094 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3281, allocations: 0.6094 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3281, allocations: 5.25 kB / 0.5686 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.3285, allocations: 261.3 kB / 0.5689 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.3285, allocations: 98.58 kB / 0.5689 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3286, allocations: 5.094 kB / 0.5689 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3287, allocations: 18.33 kB / 0.569 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3288, allocations: 8 kB / 0.569 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3288, allocations: 2.766 kB / 0.569 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.3289, allocations: 119.7 kB / 0.5691 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3289, allocations: 0 / 0.5691 GB, free: 28.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3292, allocations: 63.17 kB / 0.5692 GB, free: 28.4 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.000245/0.3295, allocations: 163.6 kB / 0.5693 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.33, allocations: 176.5 kB / 0.5695 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.33, allocations: 0 / 0.5695 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3302, allocations: 63.81 kB / 0.5695 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3305, allocations: 21.84 kB / 0.5696 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.331, allocations: 246.1 kB / 0.5698 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3311, allocations: 0.7049 MB / 0.5705 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3312, allocations: 20 kB / 0.5705 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.3313, allocations: 21.89 kB / 0.5705 GB, free: 27.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3313, allocations: 1.406 kB / 0.5705 GB, free: 27.34 MB / 446.1 MB Notification: Performance of Templates: time 0.005982/0.3373, allocations: 2.718 MB / 0.5732 GB, free: 27.09 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)