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.0008262/0.0008263, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004848/0.004849, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7273/0.7273, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 11.98 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003199/0.3633, allocations: 2.994 MB / 0.5867 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 7.108e-05/0.3634, allocations: 52.91 kB / 0.5867 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.3634, allocations: 1.219 kB / 0.5867 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.338e-05/0.3635, allocations: 5.719 kB / 0.5867 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.3636, allocations: 13.62 kB / 0.5867 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.364, allocations: 168.1 kB / 0.5869 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.3641, allocations: 58.78 kB / 0.587 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.3641, allocations: 1.859 kB / 0.587 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.3642, allocations: 19.12 kB / 0.587 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3642, allocations: 17.84 kB / 0.587 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3643, allocations: 1.375 kB / 0.587 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.3646, allocations: 174.7 kB / 0.5872 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.3646, allocations: 4.531 kB / 0.5872 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.3647, allocations: 36.77 kB / 0.5872 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3649, allocations: 136.5 kB / 0.5873 GB, free: 1.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3649, allocations: 5.094 kB / 0.5873 GB, free: 1.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3649, allocations: 0 / 0.5873 GB, free: 1.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3649, allocations: 0 / 0.5873 GB, free: 1.555 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.0002903/0.3652, allocations: 341.1 kB / 0.5877 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3653, allocations: 9.891 kB / 0.5877 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.3653, allocations: 39.47 kB / 0.5877 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.3653, allocations: 3.359 kB / 0.5877 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.3654, allocations: 166.4 kB / 0.5879 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.3655, allocations: 32.84 kB / 0.5879 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.3655, allocations: 6 kB / 0.5879 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.3656, allocations: 40.33 kB / 0.5879 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3656, allocations: 0 / 0.5879 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3656, allocations: 0.9688 kB / 0.5879 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3657, allocations: 9.531 kB / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.3657, allocations: 12.86 kB / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.3662, allocations: 0.5887 MB / 0.5885 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.595e-05/0.3662, allocations: 21.81 kB / 0.5886 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.064e-05/0.3662, allocations: 4.859 kB / 0.5886 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.3664, allocations: 344.8 kB / 0.5889 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3665, allocations: 38.56 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3665, allocations: 1 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.3666, allocations: 37.44 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3667, allocations: 52.16 kB / 0.589 GB, free: 15.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.3667, allocations: 110.2 kB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3668, allocations: 30.62 kB / 0.5892 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3668, allocations: 81.64 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.3669, allocations: 5.656 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.3669, allocations: 14.53 kB / 0.5892 GB, free: 15.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.367, allocations: 321.3 kB / 0.5896 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.367, allocations: 3.312 kB / 0.5896 GB, free: 15.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.3671, allocations: 15.02 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.3671, allocations: 21.22 kB / 0.5896 GB, free: 15.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3671, allocations: 4.609 kB / 0.5896 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.545e-05/0.3672, allocations: 49.52 kB / 0.5896 GB, free: 14.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3672, allocations: 6.875 kB / 0.5896 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3673, allocations: 2.031 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3673, allocations: 0 / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.3673, allocations: 5.938 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3673, allocations: 1.5 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3674, allocations: 1.625 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3674, allocations: 1.156 kB / 0.5897 GB, free: 14.99 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 8.741e-05/0.3675, allocations: 122.2 kB / 0.5898 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3675, allocations: 5.859 kB / 0.5898 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.3676, allocations: 120.9 kB / 0.5899 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-05/0.3677, allocations: 178.4 kB / 0.5901 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-05/0.3678, allocations: 182 kB / 0.5902 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/0.3679, allocations: 182.1 kB / 0.5904 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3682, allocations: 411.8 kB / 0.5908 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/0.3682, allocations: 102.6 kB / 0.5909 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.3683, allocations: 106.2 kB / 0.591 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.806e-05/0.3683, allocations: 185.8 kB / 0.5912 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.3684, allocations: 177.9 kB / 0.5914 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.768e-05/0.3685, allocations: 187 kB / 0.5915 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.354e-05/0.3686, allocations: 178.2 kB / 0.5917 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3688, allocations: 309.4 kB / 0.592 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3689, allocations: 181.7 kB / 0.5922 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.369, allocations: 187 kB / 0.5923 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3692, allocations: 111.8 kB / 0.5925 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.3692, allocations: 185.3 kB / 0.5926 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3693, allocations: 102.4 kB / 0.5927 GB, free: 11.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.3694, allocations: 89.8 kB / 0.5928 GB, free: 11.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3694, allocations: 0.8125 kB / 0.5928 GB, free: 11.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.3697, allocations: 41.97 kB / 0.5929 GB, free: 11.59 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.0006424/0.3704, allocations: 0.8666 MB / 0.5937 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.3705, allocations: 8.078 kB / 0.5937 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3705, allocations: 0 / 0.5937 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3705, allocations: 0.625 kB / 0.5937 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.371, allocations: 0.5272 MB / 0.5942 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.372, allocations: 1.338 MB / 0.5955 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3722, allocations: 0.6743 MB / 0.5962 GB, free: 8.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.3722, allocations: 9.438 kB / 0.5962 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.3722, allocations: 13.23 kB / 0.5962 GB, free: 8.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3723, allocations: 0 / 0.5962 GB, free: 8.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.283/0.6552, allocations: 1.945 MB / 0.5981 GB, free: 7.926 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.6555, allocations: 249.2 kB / 0.5984 GB, free: 7.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.708, allocations: 0 / 0.5984 GB, free: 7.672 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)