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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001207/0.001207, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7815/0.7815, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 77.91 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1369, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005808/0.1427, allocations: 4.538 MB / 0.655 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1438, allocations: 0.8147 MB / 0.6558 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.1439, allocations: 4 kB / 0.6558 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1441, allocations: 27.77 kB / 0.6558 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.1442, allocations: 35.7 kB / 0.6559 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1446, allocations: 175.3 kB / 0.656 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1448, allocations: 167.4 kB / 0.6562 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.1449, allocations: 21.11 kB / 0.6562 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1451, allocations: 75.75 kB / 0.6563 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1453, allocations: 83.66 kB / 0.6564 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1453, allocations: 16 kB / 0.6564 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1456, allocations: 155.8 kB / 0.6565 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.1457, allocations: 39.83 kB / 0.6566 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1458, allocations: 63.72 kB / 0.6566 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1461, allocations: 235.5 kB / 0.6568 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1461, allocations: 0 / 0.6568 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1461, allocations: 0 / 0.6568 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1461, allocations: 0 / 0.6568 GB, free: 13.11 MB / 0.4981 GB 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.0008616/0.147, allocations: 494.5 kB / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1471, allocations: 8.031 kB / 0.6573 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1471, allocations: 38.75 kB / 0.6574 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1472, allocations: 12.84 kB / 0.6574 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1473, allocations: 192 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1473, allocations: 11.94 kB / 0.6576 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1474, allocations: 16 kB / 0.6576 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1477, allocations: 111.5 kB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1477, allocations: 4 kB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1477, allocations: 4 kB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1477, allocations: 0 / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1482, allocations: 147.9 kB / 0.6578 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.1491, allocations: 468.3 kB / 0.6583 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1494, allocations: 122.5 kB / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1496, allocations: 73.06 kB / 0.6585 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.151, allocations: 0.9644 MB / 0.6594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1511, allocations: 34.56 kB / 0.6594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1511, allocations: 0 / 0.6594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006772/0.1518, allocations: 217.3 kB / 0.6597 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1518, allocations: 51.41 kB / 0.6597 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.152, allocations: 169.4 kB / 0.6599 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.152, allocations: 33.7 kB / 0.6599 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.1521, allocations: 108.5 kB / 0.66 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1521, allocations: 43.58 kB / 0.66 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.1522, allocations: 49.7 kB / 0.6601 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1524, allocations: 326.8 kB / 0.6604 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1526, allocations: 75.94 kB / 0.6605 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1529, allocations: 103.4 kB / 0.6606 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.1533, allocations: 177.3 kB / 0.6607 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1533, allocations: 0 / 0.6607 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006021/0.1539, allocations: 249.2 kB / 0.661 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.154, allocations: 4.094 kB / 0.661 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.154, allocations: 8 kB / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.154, allocations: 0 / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.1543, allocations: 55.95 kB / 0.661 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1543, allocations: 11.88 kB / 0.6611 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.1544, allocations: 31.83 kB / 0.6611 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1545, allocations: 4 kB / 0.6611 GB, free: 8.375 MB / 0.4981 GB 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 9.747e-05/0.1546, allocations: 117.8 kB / 0.6612 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1546, allocations: 23.89 kB / 0.6612 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.1551, allocations: 175.3 kB / 0.6614 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1551, allocations: 4 kB / 0.6614 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1552, allocations: 0 / 0.6614 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1552, allocations: 3.984 kB / 0.6614 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1554, allocations: 221.5 kB / 0.6616 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1554, allocations: 7.938 kB / 0.6616 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1556, allocations: 23.98 kB / 0.6616 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1556, allocations: 4 kB / 0.6616 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1556, allocations: 3.984 kB / 0.6616 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1556, allocations: 0 / 0.6616 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1556, allocations: 0 / 0.6616 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.1561, allocations: 267.4 kB / 0.6619 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1562, allocations: 100.9 kB / 0.662 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1562, allocations: 0 / 0.662 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1564, allocations: 15.98 kB / 0.662 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1564, allocations: 7.984 kB / 0.662 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1564, allocations: 4 kB / 0.662 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.854e-05/0.1565, allocations: 120.2 kB / 0.6621 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1565, allocations: 4 kB / 0.6621 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003198/0.1569, allocations: 63.8 kB / 0.6622 GB, free: 7.133 MB / 0.4981 GB 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.0009229/0.1578, allocations: 0.8449 MB / 0.663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.1583, allocations: 172.5 kB / 0.6632 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1583, allocations: 0 / 0.6632 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1585, allocations: 71.89 kB / 0.6633 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1589, allocations: 15.94 kB / 0.6633 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1615, allocations: 1.966 MB / 0.6652 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1618, allocations: 0.7083 MB / 0.6659 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.625e-05/0.1619, allocations: 29.42 kB / 0.6659 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.162, allocations: 35.42 kB / 0.666 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.162, allocations: 0 / 0.666 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1867, allocations: 4.271 MB / 0.6701 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.795, allocations: 8.984 kB / 0.6701 GB, free: 15.01 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)