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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 116.4 kB / 16.37 MB, free: 5.984 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.001362/0.001362, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.88 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4316, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004883/0.4365, allocations: 3.286 MB / 0.5847 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.178e-05/0.4367, allocations: 55.66 kB / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.4367, allocations: 2.781 kB / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.4368, allocations: 5.469 kB / 0.5848 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.4369, allocations: 9.516 kB / 0.5848 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.4374, allocations: 183.4 kB / 0.585 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.4375, allocations: 34.05 kB / 0.585 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4376, allocations: 6.453 kB / 0.585 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.4376, allocations: 17.23 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.4377, allocations: 13.7 kB / 0.585 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.4377, allocations: 2.25 kB / 0.585 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.4381, allocations: 171.6 kB / 0.5852 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.4381, allocations: 10.45 kB / 0.5852 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.4381, allocations: 5.344 kB / 0.5852 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.4384, allocations: 135.4 kB / 0.5853 GB, free: 24.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4384, allocations: 2.438 kB / 0.5853 GB, free: 24.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4384, allocations: 0 / 0.5853 GB, free: 24.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4384, allocations: 3.938 kB / 0.5853 GB, free: 24.78 MB / 446.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.0003667/0.4388, allocations: 353.8 kB / 0.5857 GB, free: 24.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4389, allocations: 10.06 kB / 0.5857 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.4389, allocations: 2.375 kB / 0.5857 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.439, allocations: 162 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.4391, allocations: 32.5 kB / 0.5859 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4391, allocations: 1.844 kB / 0.5859 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4392, allocations: 47.66 kB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4392, allocations: 2.5 kB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4393, allocations: 1.344 kB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.4393, allocations: 0 / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.4393, allocations: 17.58 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.4399, allocations: 0.5861 MB / 0.5865 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.4399, allocations: 17.23 kB / 0.5865 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.44, allocations: 7.016 kB / 0.5865 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.4401, allocations: 350.2 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4402, allocations: 32.62 kB / 0.5869 GB, free: 22.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4402, allocations: 0 / 0.5869 GB, free: 22.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.4403, allocations: 45.89 kB / 0.5869 GB, free: 22.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4404, allocations: 51.41 kB / 0.587 GB, free: 22.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.4404, allocations: 108.7 kB / 0.5871 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4405, allocations: 28.11 kB / 0.5871 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.4405, allocations: 89.42 kB / 0.5872 GB, free: 22.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.4405, allocations: 0 / 0.5872 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.4405, allocations: 14.41 kB / 0.5872 GB, free: 22.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.4406, allocations: 318.8 kB / 0.5875 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.4406, allocations: 8.156 kB / 0.5875 GB, free: 22.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.4407, allocations: 13.91 kB / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.4407, allocations: 30.11 kB / 0.5876 GB, free: 22.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4407, allocations: 0 / 0.5876 GB, free: 22.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.162e-05/0.4408, allocations: 44.02 kB / 0.5876 GB, free: 22.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4408, allocations: 9.266 kB / 0.5876 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4408, allocations: 2.125 kB / 0.5876 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4408, allocations: 1.094 kB / 0.5876 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.4409, allocations: 8.312 kB / 0.5876 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4409, allocations: 1.938 kB / 0.5876 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.4409, allocations: 5.25 kB / 0.5876 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4409, allocations: 11.28 kB / 0.5877 GB, free: 22.2 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 5.519e-05/0.441, allocations: 111.7 kB / 0.5878 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.441, allocations: 2.344 kB / 0.5878 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4411, allocations: 121.5 kB / 0.5879 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.4412, allocations: 180.2 kB / 0.5881 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.4412, allocations: 179.2 kB / 0.5882 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.4413, allocations: 180.8 kB / 0.5884 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4414, allocations: 413.2 kB / 0.5888 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.4414, allocations: 113.1 kB / 0.5889 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.4414, allocations: 106 kB / 0.589 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.067e-05/0.4415, allocations: 181.3 kB / 0.5892 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4415, allocations: 181.1 kB / 0.5893 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.4416, allocations: 177.3 kB / 0.5895 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.937e-05/0.4416, allocations: 187.2 kB / 0.5897 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/0.4417, allocations: 309.7 kB / 0.59 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.4417, allocations: 187.4 kB / 0.5902 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4418, allocations: 181.6 kB / 0.5903 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.4419, allocations: 105.9 kB / 0.5904 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.4419, allocations: 182.8 kB / 0.5906 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4419, allocations: 101 kB / 0.5907 GB, free: 18.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.442, allocations: 88.8 kB / 0.5908 GB, free: 18.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.442, allocations: 1.094 kB / 0.5908 GB, free: 18.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.4423, allocations: 32.62 kB / 0.5908 GB, free: 18.8 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.000255/0.4426, allocations: 241.2 kB / 0.5911 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.699e-05/0.4427, allocations: 9.312 kB / 0.5911 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4427, allocations: 0 / 0.5911 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.4427, allocations: 1.688 kB / 0.5911 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.443, allocations: 463.3 kB / 0.5915 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.4433, allocations: 193.4 kB / 0.5917 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4434, allocations: 0.6768 MB / 0.5924 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.4435, allocations: 7.688 kB / 0.5924 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.4435, allocations: 8.719 kB / 0.5924 GB, free: 17.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4435, allocations: 1 kB / 0.5924 GB, free: 17.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003659/0.4472, allocations: 1.205 MB / 0.5935 GB, free: 16.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)