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.001016/0.001016, allocations: 92.7 kB / 15.7 MB, free: 472 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.001174/0.001174, allocations: 170.2 kB / 16.58 MB, free: 6.848 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: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 115.5 MB / 407.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003228, allocations: 8 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 77.53 MB / 0.5593 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004704/0.1386, allocations: 4.046 MB / 0.5633 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.1395, allocations: 0.7647 MB / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1396, allocations: 0 / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1398, allocations: 23.83 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.1398, allocations: 27.72 kB / 0.5641 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1403, allocations: 131.5 kB / 0.5642 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1404, allocations: 159.4 kB / 0.5643 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.1405, allocations: 9.125 kB / 0.5644 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1407, allocations: 71.75 kB / 0.5644 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1408, allocations: 71.72 kB / 0.5645 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1409, allocations: 8 kB / 0.5645 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.1411, allocations: 123.8 kB / 0.5646 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.1412, allocations: 27.89 kB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1412, allocations: 45.64 kB / 0.5647 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1415, allocations: 159.9 kB / 0.5648 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.1415, allocations: 3.984 kB / 0.5648 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1415, allocations: 0 / 0.5648 GB, free: 3.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1415, allocations: 0 / 0.5648 GB, free: 3.75 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.000767/0.1423, allocations: 462.8 kB / 0.5653 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1423, allocations: 11.97 kB / 0.5653 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.1424, allocations: 15.81 kB / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1425, allocations: 184.5 kB / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1425, allocations: 12 kB / 0.5655 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1426, allocations: 12 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.1429, allocations: 135.5 kB / 0.5656 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1429, allocations: 0 / 0.5656 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1429, allocations: 4 kB / 0.5656 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1429, allocations: 8 kB / 0.5657 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1433, allocations: 163.9 kB / 0.5658 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.1442, allocations: 464.5 kB / 0.5663 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1446, allocations: 134.5 kB / 0.5664 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1448, allocations: 84.81 kB / 0.5665 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.146, allocations: 0.9608 MB / 0.5674 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.146, allocations: 34.52 kB / 0.5674 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.146, allocations: 4 kB / 0.5674 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006397/0.1467, allocations: 245.3 kB / 0.5677 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1467, allocations: 51.41 kB / 0.5677 GB, free: 500 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1469, allocations: 161.8 kB / 0.5679 GB, free: 332 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1469, allocations: 33.7 kB / 0.5679 GB, free: 292 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.147, allocations: 112.3 kB / 0.568 GB, free: 176 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.147, allocations: 39.45 kB / 0.568 GB, free: 136 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.147, allocations: 4 kB / 0.5681 GB, free: 132 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1472, allocations: 326.8 kB / 0.5684 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1474, allocations: 79.94 kB / 0.5684 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.1476, allocations: 124.8 kB / 0.5686 GB, free: 15.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1479, allocations: 95.95 kB / 0.5687 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1479, allocations: 0 / 0.5687 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005423/0.1484, allocations: 268.6 kB / 0.5689 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1485, allocations: 7.953 kB / 0.5689 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1485, allocations: 7.984 kB / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1485, allocations: 0 / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1488, allocations: 60.06 kB / 0.569 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1488, allocations: 3.938 kB / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1489, allocations: 35.77 kB / 0.569 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.149, allocations: 15.98 kB / 0.569 GB, free: 15.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.1491, allocations: 121.8 kB / 0.5691 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1491, allocations: 11.81 kB / 0.5692 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1496, allocations: 210.7 kB / 0.5694 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1496, allocations: 4 kB / 0.5694 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1496, allocations: 0 / 0.5694 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1496, allocations: 0 / 0.5694 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1499, allocations: 209.6 kB / 0.5696 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1499, allocations: 0 / 0.5696 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.15, allocations: 43.97 kB / 0.5696 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.15, allocations: 0 / 0.5696 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1501, allocations: 0 / 0.5696 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.1501, allocations: 11.95 kB / 0.5696 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1501, allocations: 0 / 0.5696 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.1505, allocations: 283.1 kB / 0.5699 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.1506, allocations: 100.9 kB / 0.57 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1506, allocations: 4 kB / 0.57 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1508, allocations: 19.98 kB / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.1508, allocations: 15.94 kB / 0.57 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1508, allocations: 4 kB / 0.57 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.1509, allocations: 113.6 kB / 0.5701 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1509, allocations: 0 / 0.5701 GB, free: 13.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1513, allocations: 60.06 kB / 0.5702 GB, free: 13.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.1515, allocations: 159.2 kB / 0.5703 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004828/0.152, allocations: 195.7 kB / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.152, allocations: 0 / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1522, allocations: 79.97 kB / 0.5706 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1526, allocations: 22.22 kB / 0.5706 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.1531, allocations: 357.6 kB / 0.571 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1533, allocations: 0.7087 MB / 0.5717 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1534, allocations: 21.02 kB / 0.5717 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.1535, allocations: 15.44 kB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1535, allocations: 3.938 kB / 0.5717 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Templates: time 0.005387/0.1589, allocations: 2.452 MB / 0.5741 GB, free: 9.789 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)