Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.001139/0.001139, allocations: 105.8 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.001159/0.00116, 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.322/1.322, 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.7635/0.7635, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.22 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 77.92 MB / 0.6441 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.00599/0.1307, allocations: 4.717 MB / 0.6487 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.1337, allocations: 2.702 MB / 0.6513 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1339, allocations: 4 kB / 0.6513 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1342, allocations: 51.67 kB / 0.6514 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1345, allocations: 95.41 kB / 0.6515 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1357, allocations: 0.4919 MB / 0.652 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.1361, allocations: 243.9 kB / 0.6522 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1361, allocations: 9.562 kB / 0.6522 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1363, allocations: 123.5 kB / 0.6523 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1365, allocations: 87.66 kB / 0.6524 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1365, allocations: 8 kB / 0.6524 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.1373, allocations: 371.3 kB / 0.6528 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.1374, allocations: 31.89 kB / 0.6528 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1375, allocations: 87.58 kB / 0.6529 GB, free: 456 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.1382, allocations: 367.1 kB / 0.6532 GB, free: 88 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1382, allocations: 0 / 0.6532 GB, free: 88 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1382, allocations: 0 / 0.6532 GB, free: 88 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1382, allocations: 0 / 0.6532 GB, free: 88 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.0008525/0.1391, allocations: 0.5143 MB / 0.6537 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1392, allocations: 8.625 kB / 0.6537 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.1392, allocations: 50.73 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.1394, allocations: 24.8 kB / 0.6538 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1397, allocations: 208.2 kB / 0.654 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1397, allocations: 20.69 kB / 0.654 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1398, allocations: 12.38 kB / 0.654 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.1402, allocations: 256 kB / 0.6543 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1402, allocations: 0 / 0.6543 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1403, allocations: 8 kB / 0.6543 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.1403, allocations: 4 kB / 0.6543 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.1408, allocations: 431.3 kB / 0.6547 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1419, allocations: 0.9528 MB / 0.6556 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1422, allocations: 166.4 kB / 0.6558 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1423, allocations: 68.81 kB / 0.6559 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/0.1439, allocations: 1.821 MB / 0.6576 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1439, allocations: 42.55 kB / 0.6577 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1439, allocations: 0 / 0.6577 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003413/0.1443, allocations: 153.4 kB / 0.6578 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1443, allocations: 51.41 kB / 0.6579 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1445, allocations: 177.3 kB / 0.658 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1445, allocations: 33.7 kB / 0.6581 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1446, allocations: 140.1 kB / 0.6582 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1446, allocations: 55.53 kB / 0.6583 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.1447, allocations: 49.7 kB / 0.6583 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1449, allocations: 326.8 kB / 0.6586 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.145, allocations: 35.98 kB / 0.6587 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1451, allocations: 139.8 kB / 0.6588 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.1454, allocations: 205.4 kB / 0.659 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1454, allocations: 0 / 0.659 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003676/0.1458, allocations: 208.9 kB / 0.6592 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1458, allocations: 12.06 kB / 0.6592 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1458, allocations: 7.984 kB / 0.6592 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1458, allocations: 7.938 kB / 0.6592 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.146, allocations: 51.92 kB / 0.6593 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.146, allocations: 7.938 kB / 0.6593 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1462, allocations: 35.77 kB / 0.6593 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1462, allocations: 12 kB / 0.6593 GB, free: 9.109 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.000113/0.1463, allocations: 133.7 kB / 0.6594 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.1464, allocations: 19.91 kB / 0.6595 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1466, allocations: 155 kB / 0.6596 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.1467, allocations: 7.938 kB / 0.6596 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1467, allocations: 0 / 0.6596 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1467, allocations: 3.984 kB / 0.6596 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1469, allocations: 213.6 kB / 0.6598 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1469, allocations: 0 / 0.6598 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.147, allocations: 27.98 kB / 0.6599 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1471, allocations: 0 / 0.6599 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1471, allocations: 3.984 kB / 0.6599 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1471, allocations: 7.938 kB / 0.6599 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1471, allocations: 4 kB / 0.6599 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1473, allocations: 223.3 kB / 0.6601 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1474, allocations: 108.9 kB / 0.6602 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1475, allocations: 4 kB / 0.6602 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.1477, allocations: 19.92 kB / 0.6602 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1477, allocations: 7.984 kB / 0.6602 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1477, allocations: 19.92 kB / 0.6602 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001851/0.1479, allocations: 124.9 kB / 0.6604 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 0.6604 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003858/0.1483, allocations: 75.88 kB / 0.6604 GB, free: 7.879 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.0008324/0.1492, allocations: 0.8348 MB / 0.6612 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1494, allocations: 111.8 kB / 0.6613 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1494, allocations: 0.9375 kB / 0.6613 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1495, allocations: 47.91 kB / 0.6614 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1499, allocations: 59.84 kB / 0.6614 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1521, allocations: 2.044 MB / 0.6634 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1524, allocations: 0.7128 MB / 0.6641 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.1525, allocations: 41.92 kB / 0.6642 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.1526, allocations: 55.41 kB / 0.6642 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1526, allocations: 0 / 0.6642 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.175, allocations: 5.243 MB / 0.6694 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.925, allocations: 10.92 kB / 0.6694 GB, free: 14.59 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterProperties_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_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)