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.001661/0.001661, allocations: 97.97 kB / 16.63 MB, free: 6.824 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.001403/0.001403, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.45/1.45, allocations: 222.9 MB / 241.3 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8145/0.8145, allocations: 125.4 MB / 416.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 0.4943 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3805, allocations: 78.56 MB / 0.571 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005652/0.3862, allocations: 4.559 MB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.3872, allocations: 0.8131 MB / 0.5763 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.3873, allocations: 0 / 0.5763 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.3875, allocations: 24.56 kB / 0.5763 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.3876, allocations: 28.88 kB / 0.5763 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.3881, allocations: 161.6 kB / 0.5765 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3883, allocations: 170.3 kB / 0.5766 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3884, allocations: 21.38 kB / 0.5766 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3886, allocations: 81.73 kB / 0.5767 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3887, allocations: 81.41 kB / 0.5768 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3887, allocations: 13.03 kB / 0.5768 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.389, allocations: 155.4 kB / 0.577 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3891, allocations: 36.14 kB / 0.577 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.3892, allocations: 69.47 kB / 0.5771 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3894, allocations: 164 kB / 0.5772 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3895, allocations: 0 / 0.5772 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3895, allocations: 0.5625 kB / 0.5772 GB, free: 27.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3895, allocations: 2.062 kB / 0.5772 GB, free: 27.2 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.0008393/0.3903, allocations: 485.3 kB / 0.5777 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3904, allocations: 10.91 kB / 0.5777 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.3904, allocations: 16.8 kB / 0.5777 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3906, allocations: 183.4 kB / 0.5779 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3906, allocations: 9.938 kB / 0.5779 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3906, allocations: 15.09 kB / 0.5779 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.3909, allocations: 117.9 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.391, allocations: 0 / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.391, allocations: 5.844 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.391, allocations: 2.062 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.3914, allocations: 139.8 kB / 0.5782 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.3924, allocations: 469.1 kB / 0.5786 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3926, allocations: 125.1 kB / 0.5787 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3928, allocations: 72.28 kB / 0.5788 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.3941, allocations: 0.9615 MB / 0.5797 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3941, allocations: 36.72 kB / 0.5798 GB, free: 25.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.3941, allocations: 0 / 0.5798 GB, free: 25.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006793/0.3948, allocations: 213.3 kB / 0.58 GB, free: 24.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3948, allocations: 52.78 kB / 0.58 GB, free: 24.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.395, allocations: 162.5 kB / 0.5802 GB, free: 24.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.395, allocations: 31.61 kB / 0.5802 GB, free: 24.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.395, allocations: 114.6 kB / 0.5803 GB, free: 24.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.3951, allocations: 39.52 kB / 0.5804 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.3952, allocations: 51.27 kB / 0.5804 GB, free: 24.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.3952, allocations: 325.6 kB / 0.5807 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3954, allocations: 76.06 kB / 0.5808 GB, free: 24.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3957, allocations: 114.7 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.3961, allocations: 180.8 kB / 0.5811 GB, free: 24.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3961, allocations: 0 / 0.5811 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005496/0.3966, allocations: 241.7 kB / 0.5813 GB, free: 24.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3967, allocations: 12.11 kB / 0.5813 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3967, allocations: 5.812 kB / 0.5813 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3967, allocations: 1.062 kB / 0.5813 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.397, allocations: 57.16 kB / 0.5814 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.397, allocations: 1.969 kB / 0.5814 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3972, allocations: 32.5 kB / 0.5814 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3972, allocations: 7.875 kB / 0.5814 GB, free: 24 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.76e-05/0.3973, allocations: 124.5 kB / 0.5815 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.3973, allocations: 15.16 kB / 0.5816 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3978, allocations: 180.4 kB / 0.5817 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3978, allocations: 4.406 kB / 0.5817 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3978, allocations: 0 / 0.5817 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3978, allocations: 0.7031 kB / 0.5817 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.398, allocations: 219.1 kB / 0.5819 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3981, allocations: 1.812 kB / 0.5819 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3982, allocations: 28.11 kB / 0.582 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3982, allocations: 5.25 kB / 0.582 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3983, allocations: 6.422 kB / 0.582 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3983, allocations: 0 / 0.582 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3983, allocations: 1.25 kB / 0.582 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3987, allocations: 257.6 kB / 0.5822 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3987, allocations: 106.9 kB / 0.5823 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3988, allocations: 0 / 0.5823 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3989, allocations: 17.45 kB / 0.5823 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.399, allocations: 7.609 kB / 0.5823 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.399, allocations: 6.672 kB / 0.5824 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.399, allocations: 119.9 kB / 0.5825 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.42e-07/0.399, allocations: 0 / 0.5825 GB, free: 23.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3994, allocations: 74.92 kB / 0.5825 GB, free: 23.12 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.0002598/0.3997, allocations: 149.4 kB / 0.5827 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.4002, allocations: 173 kB / 0.5828 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4002, allocations: 1.5 kB / 0.5829 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4004, allocations: 71.95 kB / 0.5829 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4008, allocations: 24.12 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.4013, allocations: 317.2 kB / 0.5832 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4014, allocations: 0.7085 MB / 0.5839 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.4015, allocations: 21.28 kB / 0.584 GB, free: 21.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4015, allocations: 0 / 0.584 GB, free: 21.91 MB / 446.1 MB Notification: Performance of Templates: time 0.00433/0.4058, allocations: 2.542 MB / 0.5864 GB, free: 20.61 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)