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.001322/0.001322, allocations: 116.4 kB / 17.09 MB, free: 6 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 / 18.02 MB, free: 5.082 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.356/1.356, 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.7539/0.7539, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 65.14 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 76.18 MB / 0.6327 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007389/0.1684, allocations: 4.53 MB / 0.6372 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1696, allocations: 0.8147 MB / 0.638 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1697, allocations: 0 / 0.638 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.17, allocations: 27.83 kB / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.1701, allocations: 35.64 kB / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.1708, allocations: 171.4 kB / 0.6382 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.171, allocations: 179.4 kB / 0.6384 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1711, allocations: 25.08 kB / 0.6384 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1714, allocations: 75.77 kB / 0.6385 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1715, allocations: 79.72 kB / 0.6385 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1716, allocations: 15.94 kB / 0.6385 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.172, allocations: 151.8 kB / 0.6387 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.172, allocations: 39.83 kB / 0.6387 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.1721, allocations: 63.73 kB / 0.6388 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1725, allocations: 239.3 kB / 0.639 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1726, allocations: 0 / 0.639 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1726, allocations: 0 / 0.639 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1726, allocations: 4 kB / 0.639 GB, free: 13.8 MB / 494.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.0009687/0.1736, allocations: 482.9 kB / 0.6395 GB, free: 13.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1736, allocations: 11.97 kB / 0.6395 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.1737, allocations: 12.84 kB / 0.6395 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1738, allocations: 186.1 kB / 0.6397 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1739, allocations: 12.38 kB / 0.6397 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1739, allocations: 8.375 kB / 0.6397 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1743, allocations: 123.7 kB / 0.6398 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1743, allocations: 0 / 0.6398 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1743, allocations: 4 kB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1743, allocations: 4 kB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1748, allocations: 143.8 kB / 0.64 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1758, allocations: 464.5 kB / 0.6404 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1762, allocations: 122.5 kB / 0.6405 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1764, allocations: 72.81 kB / 0.6406 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.1778, allocations: 0.9684 MB / 0.6415 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1779, allocations: 34.5 kB / 0.6416 GB, free: 10.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1779, allocations: 0 / 0.6416 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007319/0.1786, allocations: 209.4 kB / 0.6418 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1787, allocations: 59.39 kB / 0.6418 GB, free: 10.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1788, allocations: 164.8 kB / 0.642 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1789, allocations: 25.7 kB / 0.642 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.179, allocations: 112.4 kB / 0.6421 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.179, allocations: 35.45 kB / 0.6421 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.1791, allocations: 53.64 kB / 0.6422 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1792, allocations: 322.8 kB / 0.6425 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1795, allocations: 75.94 kB / 0.6426 GB, free: 9.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.1797, allocations: 114.8 kB / 0.6427 GB, free: 9.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.1802, allocations: 173.8 kB / 0.6429 GB, free: 9.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1802, allocations: 0 / 0.6429 GB, free: 9.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005602/0.1808, allocations: 249.1 kB / 0.6431 GB, free: 9.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1808, allocations: 4 kB / 0.6431 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1808, allocations: 0 / 0.6431 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1808, allocations: 7.938 kB / 0.6431 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1811, allocations: 55.89 kB / 0.6432 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1811, allocations: 3.984 kB / 0.6432 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1813, allocations: 43.8 kB / 0.6432 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1813, allocations: 12 kB / 0.6432 GB, free: 9.129 MB / 494.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 0.0001046/0.1814, allocations: 125.8 kB / 0.6433 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1815, allocations: 11.81 kB / 0.6433 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.182, allocations: 182.9 kB / 0.6435 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.182, allocations: 0 / 0.6435 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.182, allocations: 0 / 0.6435 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.182, allocations: 0 / 0.6435 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1823, allocations: 221.4 kB / 0.6437 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1823, allocations: 0 / 0.6437 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1824, allocations: 31.97 kB / 0.6438 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1824, allocations: 3.938 kB / 0.6438 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1825, allocations: 7.938 kB / 0.6438 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1825, allocations: 0 / 0.6438 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1825, allocations: 4 kB / 0.6438 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.1829, allocations: 247.9 kB / 0.644 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.183, allocations: 96.91 kB / 0.6441 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1831, allocations: 15.92 kB / 0.6441 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1832, allocations: 15.97 kB / 0.6441 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1833, allocations: 15.98 kB / 0.6442 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1833, allocations: 0 / 0.6442 GB, free: 8.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.1834, allocations: 113.6 kB / 0.6443 GB, free: 7.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1834, allocations: 0 / 0.6443 GB, free: 7.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1837, allocations: 68.31 kB / 0.6443 GB, free: 7.895 MB / 494.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.0003191/0.1841, allocations: 159.1 kB / 0.6445 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.1846, allocations: 164.1 kB / 0.6446 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1846, allocations: 8 kB / 0.6446 GB, free: 7.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1848, allocations: 71.88 kB / 0.6447 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1852, allocations: 12 kB / 0.6447 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.1857, allocations: 282.9 kB / 0.645 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.186, allocations: 0.7045 MB / 0.6457 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.1861, allocations: 19.44 kB / 0.6457 GB, free: 6.422 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1861, allocations: 0 / 0.6457 GB, free: 6.422 MB / 494.1 MB Notification: Performance of Templates: time 0.004882/0.191, allocations: 2.574 MB / 0.6482 GB, free: 3.863 MB / 494.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)