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.001574/0.001574, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 69.23 kB / 0.5019 GB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.359, allocations: 80.19 MB / 0.5802 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004592/0.3636, allocations: 3.283 MB / 0.5834 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.3638, allocations: 49.89 kB / 0.5834 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.3638, allocations: 0 / 0.5834 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.364, allocations: 6.078 kB / 0.5834 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.3641, allocations: 12.91 kB / 0.5835 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.3648, allocations: 192.4 kB / 0.5836 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3649, allocations: 26.14 kB / 0.5837 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.365, allocations: 3.234 kB / 0.5837 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.365, allocations: 26.78 kB / 0.5837 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.3651, allocations: 8.266 kB / 0.5837 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3652, allocations: 1.344 kB / 0.5837 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.3657, allocations: 174.8 kB / 0.5839 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.3658, allocations: 4.406 kB / 0.5839 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3658, allocations: 18.12 kB / 0.5839 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3663, allocations: 127.7 kB / 0.584 GB, free: 1.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3663, allocations: 3.938 kB / 0.584 GB, free: 1.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3663, allocations: 0.8438 kB / 0.584 GB, free: 1.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3663, allocations: 3.938 kB / 0.584 GB, free: 1.922 MB / 430.1 MB 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.0004721/0.3668, allocations: 351 kB / 0.5844 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3669, allocations: 10.41 kB / 0.5844 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3669, allocations: 39.25 kB / 0.5844 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.367, allocations: 6.375 kB / 0.5844 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.3671, allocations: 167.2 kB / 0.5846 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.3672, allocations: 28.36 kB / 0.5846 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3672, allocations: 5.469 kB / 0.5846 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3674, allocations: 41.62 kB / 0.5846 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3674, allocations: 0 / 0.5846 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3675, allocations: 7.984 kB / 0.5847 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.3675, allocations: 2.172 kB / 0.5847 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.3676, allocations: 17.27 kB / 0.5847 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.3683, allocations: 0.584 MB / 0.5852 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.3684, allocations: 17.09 kB / 0.5853 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.3684, allocations: 6.219 kB / 0.5853 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.3686, allocations: 339.2 kB / 0.5856 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3687, allocations: 36.41 kB / 0.5856 GB, free: 116 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.3687, allocations: 4 kB / 0.5856 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001899/0.3689, allocations: 45.64 kB / 0.5857 GB, free: 68 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.3689, allocations: 52.34 kB / 0.5857 GB, free: 4 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3691, allocations: 107.2 kB / 0.5858 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3691, allocations: 29.64 kB / 0.5859 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3692, allocations: 86.22 kB / 0.5859 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.3692, allocations: 0.75 kB / 0.5859 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.3693, allocations: 19.25 kB / 0.586 GB, free: 15.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3695, allocations: 320.6 kB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.3695, allocations: 3.859 kB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.3696, allocations: 19.28 kB / 0.5863 GB, free: 15.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.3696, allocations: 20.3 kB / 0.5863 GB, free: 15.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3696, allocations: 0 / 0.5863 GB, free: 15.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001308/0.3698, allocations: 50.64 kB / 0.5863 GB, free: 15.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3698, allocations: 9.125 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3698, allocations: 1.422 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3699, allocations: 0.9062 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.3699, allocations: 5.969 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3699, allocations: 0.6562 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.37, allocations: 1.031 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.37, allocations: 3.344 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB 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 0.0001142/0.3701, allocations: 117.4 kB / 0.5865 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.3702, allocations: 9.312 kB / 0.5865 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.3703, allocations: 117 kB / 0.5866 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.482e-05/0.3704, allocations: 182.3 kB / 0.5868 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.25e-05/0.3706, allocations: 182.2 kB / 0.5869 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/0.3706, allocations: 182.8 kB / 0.5871 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3711, allocations: 411.4 kB / 0.5875 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-05/0.3712, allocations: 111.1 kB / 0.5876 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.3712, allocations: 101.6 kB / 0.5877 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-05/0.3713, allocations: 178.4 kB / 0.5879 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.3714, allocations: 182.3 kB / 0.5881 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.494e-05/0.3715, allocations: 176.9 kB / 0.5882 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.326e-05/0.3716, allocations: 190.2 kB / 0.5884 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3718, allocations: 310.4 kB / 0.5887 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.372, allocations: 184.2 kB / 0.5889 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3721, allocations: 178.7 kB / 0.5891 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3724, allocations: 115.1 kB / 0.5892 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3725, allocations: 181.9 kB / 0.5893 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.3726, allocations: 102.9 kB / 0.5894 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.3727, allocations: 85.94 kB / 0.5895 GB, free: 11.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3727, allocations: 0 / 0.5895 GB, free: 11.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000537/0.3732, allocations: 41.73 kB / 0.5896 GB, free: 11.95 MB / 446.1 MB 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.0007688/0.374, allocations: 0.876 MB / 0.5904 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.3741, allocations: 7.312 kB / 0.5904 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.3741, allocations: 4 kB / 0.5904 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.3742, allocations: 3.938 kB / 0.5904 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.3749, allocations: 460.8 kB / 0.5909 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3764, allocations: 1.332 MB / 0.5922 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3768, allocations: 0.6739 MB / 0.5928 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.3769, allocations: 5.891 kB / 0.5928 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.377, allocations: 9.5 kB / 0.5928 GB, free: 8.609 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.377, allocations: 4.781 kB / 0.5928 GB, free: 8.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.4025, allocations: 2.117 MB / 0.5949 GB, free: 8.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.571, allocations: 23.61 kB / 0.5949 GB, free: 8.148 MB / 446.1 MB (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)