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.001019/0.001018, allocations: 110.8 kB / 17.03 MB, free: 5.812 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.0009799/0.0009799, allocations: 196 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.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.1 MB / 406.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3167, allocations: 76.14 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005625/0.3224, allocations: 4.527 MB / 0.562 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000914/0.3233, allocations: 0.8174 MB / 0.5628 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.3234, allocations: 2.25 kB / 0.5628 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.3236, allocations: 27.62 kB / 0.5628 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.3236, allocations: 35.5 kB / 0.5629 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3241, allocations: 170.7 kB / 0.563 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3243, allocations: 183.8 kB / 0.5632 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.3244, allocations: 18.77 kB / 0.5632 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3246, allocations: 81.58 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3247, allocations: 76.09 kB / 0.5634 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3248, allocations: 12.06 kB / 0.5634 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.3251, allocations: 159.8 kB / 0.5635 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.3252, allocations: 31.36 kB / 0.5636 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.3252, allocations: 68.28 kB / 0.5636 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3256, allocations: 240.4 kB / 0.5638 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3256, allocations: 1.531 kB / 0.5639 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3256, allocations: 0.5625 kB / 0.5639 GB, free: 32.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3256, allocations: 1.062 kB / 0.5639 GB, free: 32.28 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.0007592/0.3264, allocations: 482.6 kB / 0.5643 GB, free: 31.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3264, allocations: 9.688 kB / 0.5643 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.3265, allocations: 16.42 kB / 0.5643 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/0.3266, allocations: 185 kB / 0.5645 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3266, allocations: 9.969 kB / 0.5645 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3267, allocations: 11.59 kB / 0.5645 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.327, allocations: 125.1 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.327, allocations: 0.7031 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.327, allocations: 1.188 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3271, allocations: 3.062 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3274, allocations: 141.4 kB / 0.5648 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.3283, allocations: 470.1 kB / 0.5652 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.3286, allocations: 123.2 kB / 0.5654 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3288, allocations: 73.8 kB / 0.5654 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.3299, allocations: 0.9576 MB / 0.5664 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3299, allocations: 37.78 kB / 0.5664 GB, free: 30.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.33, allocations: 4.5 kB / 0.5664 GB, free: 30.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000618/0.3306, allocations: 219.8 kB / 0.5666 GB, free: 30.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3306, allocations: 54.12 kB / 0.5667 GB, free: 30.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3308, allocations: 162.3 kB / 0.5668 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3308, allocations: 25.7 kB / 0.5668 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.3308, allocations: 110.7 kB / 0.567 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3309, allocations: 43.5 kB / 0.567 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.331, allocations: 52.42 kB / 0.567 GB, free: 29.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.331, allocations: 321.5 kB / 0.5673 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3312, allocations: 75.83 kB / 0.5674 GB, free: 29.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.3315, allocations: 111.2 kB / 0.5675 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3318, allocations: 174.8 kB / 0.5677 GB, free: 29.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3318, allocations: 1.156 kB / 0.5677 GB, free: 29.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005027/0.3323, allocations: 248.4 kB / 0.5679 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3324, allocations: 4.688 kB / 0.5679 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3324, allocations: 7.156 kB / 0.5679 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3324, allocations: 6.156 kB / 0.5679 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3327, allocations: 51.2 kB / 0.568 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3327, allocations: 6.781 kB / 0.568 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3328, allocations: 32.23 kB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3329, allocations: 11.89 kB / 0.568 GB, free: 29.09 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 6.536e-05/0.3329, allocations: 120.7 kB / 0.5682 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.333, allocations: 13.61 kB / 0.5682 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.3334, allocations: 181.7 kB / 0.5683 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3334, allocations: 2.281 kB / 0.5684 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3334, allocations: 1.188 kB / 0.5684 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3335, allocations: 0.6562 kB / 0.5684 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3336, allocations: 209.3 kB / 0.5686 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3337, allocations: 0 / 0.5686 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3338, allocations: 29.56 kB / 0.5686 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3338, allocations: 0 / 0.5686 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3338, allocations: 9.812 kB / 0.5686 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3338, allocations: 2.219 kB / 0.5686 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3339, allocations: 0 / 0.5686 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3342, allocations: 263.1 kB / 0.5688 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.3343, allocations: 98.91 kB / 0.5689 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3343, allocations: 10.27 kB / 0.5689 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3345, allocations: 16.47 kB / 0.569 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3345, allocations: 13.59 kB / 0.569 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3345, allocations: 4.016 kB / 0.569 GB, free: 28.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.3346, allocations: 113.6 kB / 0.5691 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3346, allocations: 0 / 0.5691 GB, free: 28.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.3349, allocations: 63.55 kB / 0.5691 GB, free: 28.27 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.0002352/0.3352, allocations: 167.2 kB / 0.5693 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.3356, allocations: 170.5 kB / 0.5695 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3356, allocations: 0.6875 kB / 0.5695 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3358, allocations: 69.5 kB / 0.5695 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3361, allocations: 18.77 kB / 0.5696 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.3365, allocations: 243.9 kB / 0.5698 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3367, allocations: 0.7039 MB / 0.5705 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.3368, allocations: 24.55 kB / 0.5705 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3368, allocations: 22.39 kB / 0.5705 GB, free: 27.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3368, allocations: 0 / 0.5705 GB, free: 27.21 MB / 446.1 MB Notification: Performance of Templates: time 0.005521/0.3423, allocations: 2.73 MB / 0.5732 GB, free: 26.95 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)