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.00128/0.001281, allocations: 107.1 kB / 16.4 MB, free: 6.492 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.00105/0.00105, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.284/1.284, allocations: 222.9 MB / 241 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.7186/0.7186, allocations: 122.8 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.83 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1339, allocations: 77.92 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005702/0.1397, allocations: 4.54 MB / 0.6485 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.1406, allocations: 0.8186 MB / 0.6493 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1407, allocations: 7.938 kB / 0.6493 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.1409, allocations: 35.75 kB / 0.6493 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.1409, allocations: 27.72 kB / 0.6494 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1414, allocations: 175.3 kB / 0.6495 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1416, allocations: 183.4 kB / 0.6497 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.1417, allocations: 9.125 kB / 0.6497 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1418, allocations: 79.75 kB / 0.6498 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.142, allocations: 83.67 kB / 0.6499 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.142, allocations: 12 kB / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1423, allocations: 155.8 kB / 0.65 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1423, allocations: 27.91 kB / 0.6501 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.1424, allocations: 67.66 kB / 0.6501 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1427, allocations: 247.4 kB / 0.6504 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1427, allocations: 0 / 0.6504 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1427, allocations: 0 / 0.6504 GB, free: 3.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1427, allocations: 0 / 0.6504 GB, free: 3.062 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.0008207/0.1436, allocations: 490.5 kB / 0.6508 GB, free: 2.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1436, allocations: 12.62 kB / 0.6508 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.1436, allocations: 34.75 kB / 0.6509 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.1437, allocations: 16.88 kB / 0.6509 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1438, allocations: 182.6 kB / 0.6511 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1438, allocations: 12.38 kB / 0.6511 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1439, allocations: 8.375 kB / 0.6511 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1442, allocations: 127 kB / 0.6512 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1442, allocations: 0 / 0.6512 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1442, allocations: 0 / 0.6512 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1442, allocations: 7.938 kB / 0.6512 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1446, allocations: 135.9 kB / 0.6513 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.1455, allocations: 468.4 kB / 0.6518 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1458, allocations: 126.5 kB / 0.6519 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.146, allocations: 74.92 kB / 0.652 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.1473, allocations: 0.9645 MB / 0.6529 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1473, allocations: 30.56 kB / 0.6529 GB, free: 108 kB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1473, allocations: 4 kB / 0.6529 GB, free: 104 kB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006781/0.148, allocations: 217.3 kB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.148, allocations: 55.41 kB / 0.6532 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1482, allocations: 165.4 kB / 0.6534 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1482, allocations: 29.7 kB / 0.6534 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1483, allocations: 112.5 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1483, allocations: 43.58 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.1484, allocations: 45.7 kB / 0.6536 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.1485, allocations: 322.8 kB / 0.6539 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1487, allocations: 79.94 kB / 0.654 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1489, allocations: 122.5 kB / 0.6541 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.1494, allocations: 171.9 kB / 0.6543 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1494, allocations: 3.938 kB / 0.6543 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005343/0.1499, allocations: 240.7 kB / 0.6545 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1499, allocations: 8 kB / 0.6545 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1499, allocations: 3.938 kB / 0.6545 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.15, allocations: 8.094 kB / 0.6545 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1502, allocations: 51.95 kB / 0.6546 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1502, allocations: 0 / 0.6546 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.1504, allocations: 31.83 kB / 0.6546 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1504, allocations: 15.98 kB / 0.6546 GB, free: 14.33 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 8.464e-05/0.1505, allocations: 121.8 kB / 0.6547 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1506, allocations: 11.91 kB / 0.6547 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.151, allocations: 187.2 kB / 0.6549 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.151, allocations: 0 / 0.6549 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1511, allocations: 0 / 0.6549 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1511, allocations: 0 / 0.6549 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1513, allocations: 221.5 kB / 0.6551 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1513, allocations: 3.938 kB / 0.6551 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1514, allocations: 31.97 kB / 0.6552 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1514, allocations: 7.938 kB / 0.6552 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1515, allocations: 7.938 kB / 0.6552 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1515, allocations: 0 / 0.6552 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1515, allocations: 0 / 0.6552 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.1519, allocations: 251.4 kB / 0.6554 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.152, allocations: 101 kB / 0.6555 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.152, allocations: 11.94 kB / 0.6555 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1522, allocations: 7.984 kB / 0.6555 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1522, allocations: 15.98 kB / 0.6555 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.1522, allocations: 0 / 0.6555 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.553e-05/0.1523, allocations: 116.9 kB / 0.6556 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1523, allocations: 0 / 0.6556 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003194/0.1526, allocations: 67.81 kB / 0.6557 GB, free: 13.1 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.0008268/0.1535, allocations: 0.8487 MB / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.154, allocations: 171.8 kB / 0.6567 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.154, allocations: 4.188 kB / 0.6567 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1542, allocations: 67.89 kB / 0.6568 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1546, allocations: 23.98 kB / 0.6568 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.157, allocations: 1.954 MB / 0.6587 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1573, allocations: 0.7007 MB / 0.6594 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.1574, allocations: 33.42 kB / 0.6594 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.1575, allocations: 35.42 kB / 0.6595 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1575, allocations: 0 / 0.6595 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.1782, allocations: 4.275 MB / 0.6636 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.365, allocations: 6.812 kB / 0.6636 GB, free: 4.973 MB / 0.4981 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)