Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001955/0.001955, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.002336/0.002336, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8054/0.8054, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 62.67 kB / 0.5736 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1454, allocations: 78.87 MB / 0.6506 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005922/0.1514, allocations: 4.05 MB / 0.6546 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1545, allocations: 2.426 MB / 0.6569 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.1546, allocations: 4 kB / 0.6569 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1549, allocations: 47.69 kB / 0.657 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1552, allocations: 95.34 kB / 0.6571 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1567, allocations: 0.5232 MB / 0.6576 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.157, allocations: 255.9 kB / 0.6578 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.1571, allocations: 17.55 kB / 0.6579 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1573, allocations: 111.6 kB / 0.658 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1575, allocations: 91.66 kB / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1575, allocations: 8 kB / 0.6581 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009536/0.1585, allocations: 459.2 kB / 0.6585 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.1586, allocations: 47.81 kB / 0.6585 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1587, allocations: 75.66 kB / 0.6586 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.1594, allocations: 415 kB / 0.659 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1595, allocations: 0 / 0.659 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1595, allocations: 4 kB / 0.659 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.1595, allocations: 0 / 0.659 GB, free: 10.89 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.0008026/0.1603, allocations: 0.5063 MB / 0.6595 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1603, allocations: 15.97 kB / 0.6595 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.1604, allocations: 46.73 kB / 0.6596 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.1624, allocations: 184.6 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1628, allocations: 212.1 kB / 0.6599 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1628, allocations: 12.7 kB / 0.66 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.1629, allocations: 20.38 kB / 0.66 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.1636, allocations: 300.2 kB / 0.6603 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1636, allocations: 0 / 0.6603 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1637, allocations: 8 kB / 0.6603 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.1637, allocations: 11.98 kB / 0.6603 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.1645, allocations: 259.6 kB / 0.6605 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1663, allocations: 1.396 MB / 0.6619 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.1671, allocations: 200.3 kB / 0.6621 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.1673, allocations: 76.81 kB / 0.6622 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1674, allocations: 0 / 0.6622 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1674, allocations: 38.56 kB / 0.6622 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.307e-06/0.1674, allocations: 0 / 0.6622 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008706/0.1683, allocations: 245.4 kB / 0.6624 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1684, allocations: 51.41 kB / 0.6625 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1686, allocations: 172 kB / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1686, allocations: 29.64 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.1687, allocations: 132.2 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.1688, allocations: 67.42 kB / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.1689, allocations: 53.92 kB / 0.6629 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.169, allocations: 330.8 kB / 0.6632 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1693, allocations: 64.42 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1696, allocations: 139 kB / 0.6634 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.1701, allocations: 219 kB / 0.6636 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1701, allocations: 4 kB / 0.6636 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006708/0.1708, allocations: 247 kB / 0.6639 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1709, allocations: 4 kB / 0.6639 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1709, allocations: 4.312 kB / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1709, allocations: 8 kB / 0.6639 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1713, allocations: 59.89 kB / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1713, allocations: 7.984 kB / 0.6639 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.1715, allocations: 31.78 kB / 0.664 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1716, allocations: 15.92 kB / 0.664 GB, free: 5.391 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.00014/0.1717, allocations: 129.8 kB / 0.6641 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.1718, allocations: 23.91 kB / 0.6641 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007/0.1725, allocations: 230.6 kB / 0.6644 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1725, allocations: 4 kB / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1725, allocations: 0 / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1726, allocations: 0 / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1729, allocations: 249.3 kB / 0.6646 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1729, allocations: 3.938 kB / 0.6646 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.1732, allocations: 47.91 kB / 0.6647 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1732, allocations: 0 / 0.6647 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1733, allocations: 7.984 kB / 0.6647 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1733, allocations: 4 kB / 0.6647 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1733, allocations: 0 / 0.6647 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.1739, allocations: 293.2 kB / 0.6649 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.174, allocations: 109 kB / 0.665 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.1741, allocations: 4 kB / 0.665 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.1744, allocations: 19.97 kB / 0.6651 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1744, allocations: 15.98 kB / 0.6651 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.1745, allocations: 4 kB / 0.6651 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001112/0.1746, allocations: 118.3 kB / 0.6652 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1746, allocations: 0 / 0.6652 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003919/0.175, allocations: 59.94 kB / 0.6653 GB, free: 3.996 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 (20): * Single equations (assignments): 20 * 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.001057/0.176, allocations: 0.8702 MB / 0.6661 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005995/0.1767, allocations: 183.6 kB / 0.6663 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.1767, allocations: 0.625 kB / 0.6663 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.1769, allocations: 95.88 kB / 0.6664 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.1774, allocations: 55.95 kB / 0.6664 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.181, allocations: 2.161 MB / 0.6685 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1814, allocations: 0.7173 MB / 0.6692 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.1817, allocations: 49.92 kB / 0.6693 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1818, allocations: 51.41 kB / 0.6693 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.1818, allocations: 0 / 0.6693 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2094, allocations: 5.194 MB / 0.6744 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.411, allocations: 10.28 kB / 0.6744 GB, free: 10.6 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)