Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.005207/0.005207, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001209/0.001209, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8803/0.8803, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3522, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003591/0.3558, allocations: 3.299 MB / 0.6674 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.317e-05/0.3559, allocations: 48.22 kB / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.356, allocations: 0 / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.859e-05/0.3561, allocations: 11.92 kB / 0.6674 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.3561, allocations: 14.64 kB / 0.6675 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.3566, allocations: 187.4 kB / 0.6676 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.719e-05/0.3566, allocations: 32.59 kB / 0.6677 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.3567, allocations: 2.344 kB / 0.6677 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.3567, allocations: 21.48 kB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.3568, allocations: 18.39 kB / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3568, allocations: 0 / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3571, allocations: 171.3 kB / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.3572, allocations: 7.516 kB / 0.6679 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.3572, allocations: 16.83 kB / 0.6679 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3574, allocations: 126.2 kB / 0.668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3574, allocations: 0 / 0.668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3574, allocations: 0 / 0.668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3575, allocations: 0 / 0.668 GB, free: 4.211 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.000295/0.3578, allocations: 356.7 kB / 0.6684 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3578, allocations: 9.562 kB / 0.6684 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.3578, allocations: 34.69 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.3579, allocations: 11.22 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.375e-05/0.3579, allocations: 165.7 kB / 0.6686 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.358, allocations: 27.73 kB / 0.6686 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.358, allocations: 9.297 kB / 0.6686 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3581, allocations: 39.47 kB / 0.6686 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3581, allocations: 4 kB / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3581, allocations: 0 / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3582, allocations: 1.125 kB / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.3582, allocations: 18.17 kB / 0.6687 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.3586, allocations: 0.5961 MB / 0.6692 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.948e-05/0.3587, allocations: 17.36 kB / 0.6693 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.3587, allocations: 8.859 kB / 0.6693 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.3588, allocations: 337.8 kB / 0.6696 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3589, allocations: 36 kB / 0.6696 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3589, allocations: 0 / 0.6696 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.359, allocations: 40.16 kB / 0.6697 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.359, allocations: 51.41 kB / 0.6697 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.3591, allocations: 108.5 kB / 0.6698 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3591, allocations: 29.83 kB / 0.6698 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.3591, allocations: 85.47 kB / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.3591, allocations: 1.312 kB / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3591, allocations: 17.91 kB / 0.6699 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.3592, allocations: 318.8 kB / 0.6702 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.3592, allocations: 3.625 kB / 0.6702 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.3592, allocations: 16.44 kB / 0.6703 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.3593, allocations: 24.88 kB / 0.6703 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3593, allocations: 0 / 0.6703 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.353e-05/0.3593, allocations: 46.53 kB / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3594, allocations: 6.062 kB / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3594, allocations: 0 / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3594, allocations: 1.406 kB / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.3594, allocations: 17.02 kB / 0.6704 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3594, allocations: 0 / 0.6704 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.3595, allocations: 9.078 kB / 0.6704 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3595, allocations: 2.719 kB / 0.6704 GB, free: 1.566 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 4.091e-05/0.3595, allocations: 117 kB / 0.6705 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3595, allocations: 1.5 kB / 0.6705 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.3596, allocations: 115.1 kB / 0.6706 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.3596, allocations: 181.5 kB / 0.6708 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.3597, allocations: 189.7 kB / 0.6709 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.3597, allocations: 181.6 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3598, allocations: 407.4 kB / 0.6715 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3598, allocations: 106.1 kB / 0.6716 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.3598, allocations: 113.8 kB / 0.6717 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/0.3599, allocations: 181.4 kB / 0.6719 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.36, allocations: 185.8 kB / 0.6721 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-05/0.36, allocations: 176.3 kB / 0.6722 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.986e-05/0.3601, allocations: 181.5 kB / 0.6724 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3602, allocations: 313 kB / 0.6727 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.3603, allocations: 186 kB / 0.6729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.3603, allocations: 178.8 kB / 0.6731 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3605, allocations: 107.5 kB / 0.6732 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.3606, allocations: 185.5 kB / 0.6733 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.3606, allocations: 102.1 kB / 0.6734 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.3606, allocations: 87.8 kB / 0.6735 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3606, allocations: 0 / 0.6735 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000273/0.3609, allocations: 40.12 kB / 0.6736 GB, free: 14.14 MB / 0.5137 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.0004521/0.3614, allocations: 0.873 MB / 0.6744 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.3615, allocations: 5.5 kB / 0.6744 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3615, allocations: 1.094 kB / 0.6744 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.59e-06/0.3615, allocations: 7.938 kB / 0.6744 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3619, allocations: 470.5 kB / 0.6749 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.3628, allocations: 1.322 MB / 0.6762 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.363, allocations: 0.6761 MB / 0.6768 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.363, allocations: 8 kB / 0.6768 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.363, allocations: 10.34 kB / 0.6768 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.363, allocations: 0 / 0.6768 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.3788, allocations: 2.152 MB / 0.6789 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.545, allocations: 8.562 kB / 0.6789 GB, free: 9.637 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)