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.001387/0.001387, 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.00152/0.00152, 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 122.8 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.92 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 77.93 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005403/0.1291, allocations: 4.411 MB / 0.6484 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1318, allocations: 2.698 MB / 0.651 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.1319, allocations: 0 / 0.651 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1322, allocations: 47.67 kB / 0.6511 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1325, allocations: 103.4 kB / 0.6512 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1337, allocations: 0.4925 MB / 0.6517 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.134, allocations: 239.9 kB / 0.6519 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.134, allocations: 13.5 kB / 0.6519 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009658/0.135, allocations: 412.4 kB / 0.6523 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1352, allocations: 99.53 kB / 0.6524 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1352, allocations: 8 kB / 0.6524 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1362, allocations: 495 kB / 0.6529 GB, free: 488 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1363, allocations: 39.83 kB / 0.6529 GB, free: 448 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.1364, allocations: 79.64 kB / 0.653 GB, free: 368 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.1371, allocations: 354.9 kB / 0.6533 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1371, allocations: 0 / 0.6533 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1371, allocations: 0 / 0.6533 GB, free: 12 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1371, allocations: 0 / 0.6533 GB, free: 12 kB / 494.1 MB 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.0007588/0.1379, allocations: 0.5103 MB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1379, allocations: 8.625 kB / 0.6538 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.138, allocations: 46.73 kB / 0.6539 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.1382, allocations: 24.84 kB / 0.6539 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1384, allocations: 224.1 kB / 0.6541 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1385, allocations: 8.703 kB / 0.6541 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1385, allocations: 16.38 kB / 0.6541 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1388, allocations: 248.8 kB / 0.6544 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1389, allocations: 0 / 0.6544 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1389, allocations: 15.98 kB / 0.6544 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.1389, allocations: 8 kB / 0.6544 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.1394, allocations: 431.5 kB / 0.6548 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1404, allocations: 1.004 MB / 0.6558 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1407, allocations: 158.2 kB / 0.6559 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1408, allocations: 64.89 kB / 0.656 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.1421, allocations: 1.829 MB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1421, allocations: 38.56 kB / 0.6578 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1421, allocations: 0 / 0.6578 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000317/0.1425, allocations: 157.4 kB / 0.658 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1425, allocations: 55.41 kB / 0.658 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1426, allocations: 169.4 kB / 0.6582 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1427, allocations: 29.7 kB / 0.6582 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.1428, allocations: 144.1 kB / 0.6584 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1428, allocations: 51.52 kB / 0.6584 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.1429, allocations: 57.66 kB / 0.6585 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.143, allocations: 322.8 kB / 0.6588 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.1431, allocations: 31.98 kB / 0.6588 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1432, allocations: 145.6 kB / 0.6589 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1434, allocations: 196.8 kB / 0.6591 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1434, allocations: 0 / 0.6591 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003164/0.1438, allocations: 221.3 kB / 0.6593 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1438, allocations: 6.031 kB / 0.6593 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1438, allocations: 7.984 kB / 0.6593 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1438, allocations: 15.88 kB / 0.6594 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.144, allocations: 47.92 kB / 0.6594 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.144, allocations: 4 kB / 0.6594 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1441, allocations: 27.78 kB / 0.6594 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1441, allocations: 19.98 kB / 0.6595 GB, free: 8.98 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 9.798e-05/0.1443, allocations: 134 kB / 0.6596 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1443, allocations: 15.91 kB / 0.6596 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1446, allocations: 151 kB / 0.6597 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1446, allocations: 7.875 kB / 0.6598 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1446, allocations: 0 / 0.6598 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1446, allocations: 4 kB / 0.6598 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1449, allocations: 221.5 kB / 0.66 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1449, allocations: 0 / 0.66 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.353e-05/0.145, allocations: 27.98 kB / 0.66 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.145, allocations: 11.94 kB / 0.66 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.145, allocations: 0 / 0.66 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.145, allocations: 3.938 kB / 0.66 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.145, allocations: 0 / 0.66 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1453, allocations: 225.6 kB / 0.6602 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.1454, allocations: 108.9 kB / 0.6603 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1454, allocations: 7.984 kB / 0.6603 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1456, allocations: 15.92 kB / 0.6603 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.1457, allocations: 15.98 kB / 0.6604 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1457, allocations: 8 kB / 0.6604 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.1458, allocations: 124.9 kB / 0.6605 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1458, allocations: 0 / 0.6605 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003895/0.1462, allocations: 75.86 kB / 0.6606 GB, free: 7.75 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.0007119/0.1469, allocations: 0.8293 MB / 0.6614 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1471, allocations: 115.7 kB / 0.6615 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1472, allocations: 4.938 kB / 0.6615 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.1472, allocations: 51.28 kB / 0.6615 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1477, allocations: 55.84 kB / 0.6616 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1498, allocations: 2.041 MB / 0.6636 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.15, allocations: 0.7167 MB / 0.6643 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.1502, allocations: 41.81 kB / 0.6643 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1502, allocations: 47.42 kB / 0.6644 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1502, allocations: 0 / 0.6644 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1699, allocations: 5.185 MB / 0.6694 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.789, allocations: 14.34 kB / 0.6694 GB, free: 14.55 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)