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.0008484/0.0008484, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 182.1 kB / 16.92 MB, free: 6.691 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7485/0.7485, allocations: 123.1 MB / 415.1 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8.625 kB / 0.4934 GB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4393, allocations: 79.29 MB / 0.5708 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005974/0.4453, allocations: 4.193 MB / 0.5749 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4464, allocations: 0.8117 MB / 0.5757 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.4465, allocations: 1.094 kB / 0.5757 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.4467, allocations: 23.22 kB / 0.5757 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.4468, allocations: 31.12 kB / 0.5757 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.4474, allocations: 145 kB / 0.5759 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.4476, allocations: 169.5 kB / 0.576 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.4477, allocations: 18.78 kB / 0.5761 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.448, allocations: 75.91 kB / 0.5761 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4481, allocations: 71.89 kB / 0.5762 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.4481, allocations: 6.188 kB / 0.5762 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.4485, allocations: 143.7 kB / 0.5763 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.4486, allocations: 23.09 kB / 0.5764 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.4487, allocations: 86.55 kB / 0.5764 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.4491, allocations: 233.9 kB / 0.5767 GB, free: 6.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4491, allocations: 4 kB / 0.5767 GB, free: 6.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4492, allocations: 0 / 0.5767 GB, free: 6.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4492, allocations: 0.9375 kB / 0.5767 GB, free: 6.793 MB / 430.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.000855/0.45, allocations: 467.2 kB / 0.5771 GB, free: 6.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4501, allocations: 9.688 kB / 0.5771 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.4501, allocations: 19.47 kB / 0.5771 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4503, allocations: 184.1 kB / 0.5773 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4503, allocations: 9.094 kB / 0.5773 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4503, allocations: 8.234 kB / 0.5773 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.4507, allocations: 132.8 kB / 0.5775 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4507, allocations: 0 / 0.5775 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4507, allocations: 8.875 kB / 0.5775 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4508, allocations: 2.031 kB / 0.5775 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.4512, allocations: 169.7 kB / 0.5776 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4523, allocations: 472.7 kB / 0.5781 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.4526, allocations: 135.9 kB / 0.5782 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.4528, allocations: 86.73 kB / 0.5783 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.4541, allocations: 0.9568 MB / 0.5792 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.4541, allocations: 36.55 kB / 0.5793 GB, free: 4.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.4541, allocations: 0 / 0.5793 GB, free: 4.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007694/0.4549, allocations: 242.4 kB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4549, allocations: 61.17 kB / 0.5796 GB, free: 4.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4551, allocations: 161.5 kB / 0.5797 GB, free: 4.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4551, allocations: 31.42 kB / 0.5797 GB, free: 4.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.4552, allocations: 112.2 kB / 0.5798 GB, free: 4.234 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4552, allocations: 40.23 kB / 0.5799 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4553, allocations: 29.42 kB / 0.5799 GB, free: 4.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.4553, allocations: 325.3 kB / 0.5802 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.4556, allocations: 89.47 kB / 0.5803 GB, free: 3.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.4559, allocations: 126 kB / 0.5804 GB, free: 3.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.4564, allocations: 191.3 kB / 0.5806 GB, free: 3.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4564, allocations: 0 / 0.5806 GB, free: 3.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006251/0.457, allocations: 264.7 kB / 0.5809 GB, free: 3.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4571, allocations: 5.406 kB / 0.5809 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4571, allocations: 5.719 kB / 0.5809 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4571, allocations: 5.344 kB / 0.5809 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.4574, allocations: 63.88 kB / 0.5809 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.4574, allocations: 3.109 kB / 0.5809 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4576, allocations: 35.34 kB / 0.581 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.4576, allocations: 7.688 kB / 0.581 GB, free: 3.566 MB / 430.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.401e-05/0.4577, allocations: 131.5 kB / 0.5811 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.4578, allocations: 9.719 kB / 0.5811 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.4583, allocations: 205.5 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4583, allocations: 2.094 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4584, allocations: 0.6562 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.4584, allocations: 0.7031 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.4586, allocations: 218.4 kB / 0.5815 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4586, allocations: 0.625 kB / 0.5815 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.4588, allocations: 45.42 kB / 0.5816 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4588, allocations: 4.812 kB / 0.5816 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4588, allocations: 9.25 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4588, allocations: 1.5 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4588, allocations: 0.6094 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.4593, allocations: 277 kB / 0.5818 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.4594, allocations: 102.4 kB / 0.5819 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4594, allocations: 5.375 kB / 0.582 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4596, allocations: 20.88 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4596, allocations: 9.578 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4596, allocations: 1.812 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.4597, allocations: 126.8 kB / 0.5821 GB, free: 2.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4597, allocations: 0 / 0.5821 GB, free: 2.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.4601, allocations: 62.11 kB / 0.5822 GB, free: 2.707 MB / 430.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.0003163/0.4605, allocations: 158.6 kB / 0.5823 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.4611, allocations: 192.7 kB / 0.5825 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4611, allocations: 9 kB / 0.5825 GB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.4613, allocations: 76.77 kB / 0.5826 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.4617, allocations: 19.83 kB / 0.5826 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.4622, allocations: 297.3 kB / 0.5829 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4623, allocations: 0.7067 MB / 0.5836 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.4625, allocations: 20.45 kB / 0.5836 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.4625, allocations: 16.61 kB / 0.5836 GB, free: 1.598 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.4625, allocations: 1.469 kB / 0.5836 GB, free: 1.598 MB / 430.1 MB Notification: Performance of Templates: time 0.006729/0.4693, allocations: 2.527 MB / 0.5861 GB, free: 1.324 MB / 430.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)