Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001759/0.001758, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001934/0.001934, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.389/1.389, 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.8261/0.8261, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.23 kB / 0.5735 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1402, allocations: 78.86 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00511/0.1454, allocations: 3.28 MB / 0.6538 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.1455, allocations: 55.84 kB / 0.6538 GB, free: 256 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.1456, allocations: 7.938 kB / 0.6538 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.303e-05/0.1457, allocations: 7.875 kB / 0.6538 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.1457, allocations: 7.922 kB / 0.6538 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.1463, allocations: 186.3 kB / 0.654 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.1463, allocations: 35.86 kB / 0.654 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.1464, allocations: 4 kB / 0.6541 GB, free: 8 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.1464, allocations: 12.03 kB / 0.6541 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.1465, allocations: 19.88 kB / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1465, allocations: 0 / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1469, allocations: 175.5 kB / 0.6543 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.147, allocations: 4 kB / 0.6543 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.147, allocations: 11.92 kB / 0.6543 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1473, allocations: 135.9 kB / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1473, allocations: 0 / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1473, allocations: 0 / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1473, allocations: 8 kB / 0.6544 GB, free: 15.65 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003989/0.1477, allocations: 343.3 kB / 0.6547 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1477, allocations: 8.625 kB / 0.6547 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1478, allocations: 30.75 kB / 0.6548 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.1478, allocations: 4.938 kB / 0.6548 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.148, allocations: 176.2 kB / 0.6549 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.148, allocations: 26.27 kB / 0.655 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.148, allocations: 4.125 kB / 0.655 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1482, allocations: 49.69 kB / 0.655 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1482, allocations: 0 / 0.655 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1482, allocations: 0 / 0.655 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1482, allocations: 0 / 0.655 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.1483, allocations: 23.92 kB / 0.655 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.149, allocations: 0.5755 MB / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.1491, allocations: 18.52 kB / 0.6556 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.1491, allocations: 12.92 kB / 0.6556 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.1494, allocations: 344.4 kB / 0.656 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1494, allocations: 30.56 kB / 0.656 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1494, allocations: 0 / 0.656 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.1495, allocations: 37.66 kB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1496, allocations: 59.34 kB / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.321e-05/0.1497, allocations: 106 kB / 0.6562 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1497, allocations: 25.7 kB / 0.6562 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1498, allocations: 88.09 kB / 0.6563 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.1498, allocations: 0 / 0.6563 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1498, allocations: 13.72 kB / 0.6563 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.15, allocations: 330.8 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.15, allocations: 3.938 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.1501, allocations: 13.72 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.1501, allocations: 29.7 kB / 0.6567 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1502, allocations: 0 / 0.6567 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.777e-05/0.1503, allocations: 49.64 kB / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1503, allocations: 4 kB / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1503, allocations: 7.984 kB / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1503, allocations: 0 / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.1504, allocations: 4 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1504, allocations: 4.062 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.1504, allocations: 7.891 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1504, allocations: 4.281 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.274e-05/0.1505, allocations: 113.7 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1506, allocations: 4 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.1507, allocations: 128.2 kB / 0.657 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.029e-05/0.1508, allocations: 188.1 kB / 0.6572 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.65e-05/0.1509, allocations: 176.3 kB / 0.6573 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.839e-05/0.1509, allocations: 176.3 kB / 0.6575 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1512, allocations: 413.2 kB / 0.6579 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/0.1513, allocations: 109 kB / 0.658 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.1513, allocations: 108.9 kB / 0.6581 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.1514, allocations: 180.3 kB / 0.6583 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.1515, allocations: 176.3 kB / 0.6584 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.701e-05/0.1516, allocations: 184.2 kB / 0.6586 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-05/0.1517, allocations: 180.3 kB / 0.6588 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1518, allocations: 315.7 kB / 0.6591 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.1519, allocations: 178.1 kB / 0.6593 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.152, allocations: 184.2 kB / 0.6594 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1522, allocations: 109 kB / 0.6595 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.1523, allocations: 180.2 kB / 0.6597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.1523, allocations: 105 kB / 0.6598 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.1524, allocations: 91.27 kB / 0.6599 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1524, allocations: 0 / 0.6599 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003079/0.1527, allocations: 35.81 kB / 0.6599 GB, free: 9.379 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 (0): * Single equations (assignments): 0 * 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.0006168/0.1533, allocations: 0.8673 MB / 0.6608 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.1534, allocations: 8 kB / 0.6608 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1534, allocations: 0 / 0.6608 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1534, allocations: 0 / 0.6608 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.154, allocations: 478.7 kB / 0.6612 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1551, allocations: 1.332 MB / 0.6625 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1554, allocations: 0.6768 MB / 0.6632 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.1555, allocations: 8 kB / 0.6632 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.1555, allocations: 11.44 kB / 0.6632 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1555, allocations: 0 / 0.6632 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1779, allocations: 2.152 MB / 0.6653 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.169, allocations: 14.38 kB / 0.6653 GB, free: 3.883 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)