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.001453/0.001453, allocations: 104 kB / 16.94 MB, free: 6.191 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.001531/0.001531, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.371/1.371, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7939/0.7939, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 67.89 kB / 0.4917 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4405, allocations: 77.92 MB / 0.5678 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006977/0.4476, allocations: 4.522 MB / 0.5723 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4487, allocations: 0.815 MB / 0.5731 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.4488, allocations: 0 / 0.5731 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.449, allocations: 29.91 kB / 0.5731 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.4491, allocations: 34.31 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.4496, allocations: 168.5 kB / 0.5733 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.4498, allocations: 175.3 kB / 0.5734 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.4499, allocations: 17.73 kB / 0.5735 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.4501, allocations: 96.19 kB / 0.5736 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.4502, allocations: 73.06 kB / 0.5736 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.4503, allocations: 12.5 kB / 0.5736 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.4506, allocations: 156.8 kB / 0.5738 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.4507, allocations: 28.02 kB / 0.5738 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.4507, allocations: 70.88 kB / 0.5739 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.4511, allocations: 239.3 kB / 0.5741 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4511, allocations: 0.5 kB / 0.5741 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4511, allocations: 0 / 0.5741 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4512, allocations: 1.562 kB / 0.5741 GB, free: 28.57 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.0008385/0.452, allocations: 482.6 kB / 0.5746 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4521, allocations: 13.75 kB / 0.5746 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.4521, allocations: 16.03 kB / 0.5746 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.4522, allocations: 182.7 kB / 0.5748 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4523, allocations: 8.594 kB / 0.5748 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4523, allocations: 12.16 kB / 0.5748 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.4526, allocations: 125.9 kB / 0.5749 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4526, allocations: 0.7812 kB / 0.5749 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4527, allocations: 1.031 kB / 0.5749 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4527, allocations: 2.469 kB / 0.5749 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.4531, allocations: 145 kB / 0.5751 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.4541, allocations: 469 kB / 0.5755 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.4544, allocations: 125 kB / 0.5756 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.4546, allocations: 69.52 kB / 0.5757 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.4558, allocations: 0.9652 MB / 0.5766 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4559, allocations: 37.38 kB / 0.5767 GB, free: 26.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4559, allocations: 2.406 kB / 0.5767 GB, free: 26.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006815/0.4566, allocations: 208.9 kB / 0.5769 GB, free: 26.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4566, allocations: 54.19 kB / 0.5769 GB, free: 26.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4568, allocations: 167.7 kB / 0.5771 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4568, allocations: 26.7 kB / 0.5771 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.4568, allocations: 107.8 kB / 0.5772 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.4569, allocations: 44.53 kB / 0.5772 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.4569, allocations: 53.69 kB / 0.5773 GB, free: 25.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.457, allocations: 322.7 kB / 0.5776 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.4572, allocations: 80.95 kB / 0.5777 GB, free: 25.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.4575, allocations: 107.6 kB / 0.5778 GB, free: 25.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.4579, allocations: 174.2 kB / 0.578 GB, free: 25.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.458, allocations: 1.25 kB / 0.578 GB, free: 25.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005858/0.4586, allocations: 245.3 kB / 0.5782 GB, free: 25.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4586, allocations: 5.906 kB / 0.5782 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4586, allocations: 2.031 kB / 0.5782 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4586, allocations: 8.969 kB / 0.5782 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.4589, allocations: 54.55 kB / 0.5783 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4589, allocations: 8.031 kB / 0.5783 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.4591, allocations: 27.72 kB / 0.5783 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.4591, allocations: 12.17 kB / 0.5783 GB, free: 25.38 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 8.292e-05/0.4592, allocations: 129.3 kB / 0.5784 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4592, allocations: 13.16 kB / 0.5784 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.4597, allocations: 181.6 kB / 0.5786 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4598, allocations: 3.5 kB / 0.5786 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4598, allocations: 0 / 0.5786 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4598, allocations: 0.75 kB / 0.5786 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.46, allocations: 212.7 kB / 0.5788 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.46, allocations: 0 / 0.5788 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.4602, allocations: 35.17 kB / 0.5788 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4602, allocations: 0 / 0.5788 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4602, allocations: 9.75 kB / 0.5789 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.4602, allocations: 1.188 kB / 0.5789 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4602, allocations: 0 / 0.5789 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.4606, allocations: 252.7 kB / 0.5791 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4607, allocations: 103 kB / 0.5792 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.4607, allocations: 10.28 kB / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4609, allocations: 13.56 kB / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.4609, allocations: 7.484 kB / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4609, allocations: 5.844 kB / 0.5792 GB, free: 24.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.808e-05/0.461, allocations: 116.4 kB / 0.5793 GB, free: 24.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.461, allocations: 0 / 0.5793 GB, free: 24.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.4614, allocations: 64.09 kB / 0.5794 GB, free: 24.55 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.0002664/0.4616, allocations: 172.4 kB / 0.5796 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.4622, allocations: 175.8 kB / 0.5797 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4622, allocations: 1.125 kB / 0.5797 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4624, allocations: 70.27 kB / 0.5798 GB, free: 24.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4628, allocations: 22.08 kB / 0.5798 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.4633, allocations: 282.2 kB / 0.5801 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4634, allocations: 0.7039 MB / 0.5808 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.4635, allocations: 20.42 kB / 0.5808 GB, free: 23.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4635, allocations: 0 / 0.5808 GB, free: 23.45 MB / 446.1 MB Notification: Performance of Templates: time 0.00485/0.4683, allocations: 2.545 MB / 0.5833 GB, free: 22.54 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)