Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.001687/0.001687, allocations: 101.9 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.001687/0.001687, allocations: 191.9 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.767/0.767, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.12 kB / 0.5726 GB, free: 27.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 78.7 MB / 0.6495 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.007156/0.1401, allocations: 4.416 MB / 0.6538 GB, free: 100 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1429, allocations: 2.698 MB / 0.6564 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.143, allocations: 0 / 0.6564 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1433, allocations: 47.67 kB / 0.6565 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1436, allocations: 99.41 kB / 0.6566 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1447, allocations: 0.4987 MB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1449, allocations: 239.7 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.145, allocations: 13.55 kB / 0.6573 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.1459, allocations: 411.1 kB / 0.6577 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.146, allocations: 91.61 kB / 0.6578 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1461, allocations: 11.94 kB / 0.6578 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009331/0.147, allocations: 0.4912 MB / 0.6583 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.1471, allocations: 35.89 kB / 0.6583 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.1472, allocations: 75.66 kB / 0.6584 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.1477, allocations: 354.8 kB / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1477, allocations: 0 / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1478, allocations: 0 / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1478, allocations: 0 / 0.6587 GB, free: 11.05 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007035/0.1485, allocations: 0.5064 MB / 0.6592 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1485, allocations: 8.031 kB / 0.6592 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.1486, allocations: 58.73 kB / 0.6593 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1487, allocations: 20.84 kB / 0.6593 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.149, allocations: 212.1 kB / 0.6595 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.149, allocations: 12.7 kB / 0.6595 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.149, allocations: 16.38 kB / 0.6595 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1494, allocations: 252.8 kB / 0.6598 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1494, allocations: 4 kB / 0.6598 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1494, allocations: 7.984 kB / 0.6598 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.1495, allocations: 8 kB / 0.6598 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1499, allocations: 431.4 kB / 0.6602 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1509, allocations: 1.008 MB / 0.6612 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1512, allocations: 160.2 kB / 0.6613 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.1513, allocations: 64.88 kB / 0.6614 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.1527, allocations: 1.829 MB / 0.6632 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1527, allocations: 38.56 kB / 0.6632 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1527, allocations: 0 / 0.6632 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003253/0.153, allocations: 149.4 kB / 0.6634 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1531, allocations: 59.39 kB / 0.6634 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1532, allocations: 172.7 kB / 0.6636 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1533, allocations: 29.7 kB / 0.6636 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1534, allocations: 140.1 kB / 0.6637 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1534, allocations: 55.53 kB / 0.6638 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.1535, allocations: 61.58 kB / 0.6639 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1536, allocations: 326.8 kB / 0.6642 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.1537, allocations: 39.97 kB / 0.6642 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1538, allocations: 133.2 kB / 0.6643 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.154, allocations: 193.5 kB / 0.6645 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.154, allocations: 4 kB / 0.6645 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003287/0.1544, allocations: 217.2 kB / 0.6647 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1544, allocations: 10.03 kB / 0.6647 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1544, allocations: 4 kB / 0.6647 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1544, allocations: 8.406 kB / 0.6647 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1546, allocations: 55.92 kB / 0.6648 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.1546, allocations: 11.98 kB / 0.6648 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1547, allocations: 31.72 kB / 0.6648 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1548, allocations: 12 kB / 0.6649 GB, free: 4.012 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001054/0.1549, allocations: 137.7 kB / 0.665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.1549, allocations: 15.91 kB / 0.665 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1552, allocations: 147 kB / 0.6651 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1553, allocations: 7.938 kB / 0.6651 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1553, allocations: 7.984 kB / 0.6652 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1553, allocations: 0 / 0.6652 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.1555, allocations: 217.5 kB / 0.6654 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1555, allocations: 0 / 0.6654 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.1556, allocations: 27.92 kB / 0.6654 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1556, allocations: 0 / 0.6654 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1557, allocations: 12 kB / 0.6654 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1557, allocations: 3.938 kB / 0.6654 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1557, allocations: 0 / 0.6654 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1559, allocations: 222.4 kB / 0.6656 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.156, allocations: 108.9 kB / 0.6657 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1561, allocations: 4 kB / 0.6657 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1563, allocations: 19.92 kB / 0.6657 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.1563, allocations: 7.984 kB / 0.6658 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1563, allocations: 8 kB / 0.6658 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.354e-05/0.1564, allocations: 123.9 kB / 0.6659 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1564, allocations: 0 / 0.6659 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003873/0.1568, allocations: 79.88 kB / 0.666 GB, free: 2.793 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007253/0.1575, allocations: 0.8331 MB / 0.6668 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1578, allocations: 123.9 kB / 0.6669 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1578, allocations: 0 / 0.6669 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1579, allocations: 47.3 kB / 0.6669 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.1583, allocations: 52.58 kB / 0.667 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1606, allocations: 2.051 MB / 0.669 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1609, allocations: 0.7168 MB / 0.6697 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.1611, allocations: 41.75 kB / 0.6697 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.1612, allocations: 47.42 kB / 0.6698 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1612, allocations: 0 / 0.6698 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1847, allocations: 5.177 MB / 0.6748 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.824, allocations: 10.34 kB / 0.6748 GB, free: 9.598 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)