Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.007/0.007, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001649/0.00165, allocations: 194.6 kB / 16.68 MB, free: 5.969 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 / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7792/0.7792, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.09 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005748/0.1368, allocations: 3.276 MB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.137, allocations: 59.78 kB / 0.6625 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1371, allocations: 0 / 0.6625 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1372, allocations: 7.938 kB / 0.6625 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.1373, allocations: 19.86 kB / 0.6625 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.138, allocations: 189.2 kB / 0.6627 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1382, allocations: 31.92 kB / 0.6627 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.1382, allocations: 0 / 0.6627 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.1383, allocations: 23.91 kB / 0.6627 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.1384, allocations: 8 kB / 0.6627 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1384, allocations: 3.938 kB / 0.6627 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.1389, allocations: 175.5 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.1389, allocations: 7.984 kB / 0.6629 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.139, allocations: 8 kB / 0.6629 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1393, allocations: 139.9 kB / 0.663 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1393, allocations: 0 / 0.663 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1393, allocations: 7.938 kB / 0.663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1393, allocations: 0 / 0.663 GB, free: 6.801 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.0004511/0.1398, allocations: 347.3 kB / 0.6634 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1398, allocations: 8.031 kB / 0.6634 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1399, allocations: 38.75 kB / 0.6634 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1399, allocations: 4.938 kB / 0.6634 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.14, allocations: 168.3 kB / 0.6636 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.1401, allocations: 30.27 kB / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1401, allocations: 8.125 kB / 0.6636 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1403, allocations: 41.67 kB / 0.6637 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1403, allocations: 0 / 0.6637 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1403, allocations: 8 kB / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1403, allocations: 0 / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.1404, allocations: 15.92 kB / 0.6637 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.141, allocations: 0.5872 MB / 0.6643 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.141, allocations: 18.58 kB / 0.6643 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.141, allocations: 4.859 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.1413, allocations: 340.5 kB / 0.6646 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1413, allocations: 34.56 kB / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1413, allocations: 0 / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.1415, allocations: 45.58 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1415, allocations: 51.53 kB / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.1416, allocations: 101.9 kB / 0.6648 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1416, allocations: 25.7 kB / 0.6649 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1417, allocations: 92.08 kB / 0.6649 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.1417, allocations: 3.984 kB / 0.6649 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1417, allocations: 17.72 kB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1419, allocations: 322.7 kB / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.1419, allocations: 7.984 kB / 0.6653 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.1419, allocations: 21.72 kB / 0.6653 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.142, allocations: 17.66 kB / 0.6653 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.142, allocations: 0 / 0.6653 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.452e-05/0.1421, allocations: 53.62 kB / 0.6654 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1421, allocations: 4 kB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1421, allocations: 0 / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1421, allocations: 0 / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.1422, allocations: 16.05 kB / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1422, allocations: 0 / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1422, allocations: 7.891 kB / 0.6654 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1422, allocations: 4 kB / 0.6654 GB, free: 3.996 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 7.665e-05/0.1423, allocations: 114.7 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1423, allocations: 0 / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1424, allocations: 120.9 kB / 0.6656 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.1425, allocations: 180.3 kB / 0.6658 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/0.1426, allocations: 188.2 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/0.1426, allocations: 180.2 kB / 0.6661 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1429, allocations: 405.2 kB / 0.6665 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.1429, allocations: 112.9 kB / 0.6666 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1429, allocations: 105.3 kB / 0.6667 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.816e-05/0.143, allocations: 180.2 kB / 0.6669 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.143, allocations: 184.2 kB / 0.6671 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.983e-05/0.1431, allocations: 176.3 kB / 0.6673 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.1432, allocations: 184.2 kB / 0.6674 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1433, allocations: 315.7 kB / 0.6677 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1434, allocations: 186 kB / 0.6679 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1434, allocations: 176.3 kB / 0.6681 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1436, allocations: 116.9 kB / 0.6682 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1436, allocations: 180.3 kB / 0.6684 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.1437, allocations: 105 kB / 0.6685 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.1438, allocations: 83.27 kB / 0.6685 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.382e-06/0.1438, allocations: 0 / 0.6685 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002832/0.144, allocations: 43.75 kB / 0.6686 GB, free: 0.5078 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.0005096/0.1446, allocations: 0.8624 MB / 0.6694 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.1447, allocations: 11.94 kB / 0.6694 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1447, allocations: 0 / 0.6694 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.1447, allocations: 8.125 kB / 0.6694 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1451, allocations: 457.2 kB / 0.6699 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.1461, allocations: 1.34 MB / 0.6712 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.1463, allocations: 0.6807 MB / 0.6719 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.1463, allocations: 4 kB / 0.6719 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1464, allocations: 7.438 kB / 0.6719 GB, free: 13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1464, allocations: 0 / 0.6719 GB, free: 13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.1627, allocations: 2.155 MB / 0.674 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.543, allocations: 9.453 kB / 0.674 GB, free: 11.04 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)