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.001436/0.001436, allocations: 98.17 kB / 16.35 MB, free: 5.824 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.001467/0.001467, allocations: 194.4 kB / 17.29 MB, free: 5.48 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 / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004318/0.3443, allocations: 3.29 MB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.239e-05/0.3444, allocations: 56.78 kB / 0.5847 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3444, allocations: 0 / 0.5847 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.3445, allocations: 1.125 kB / 0.5848 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.3446, allocations: 14.08 kB / 0.5848 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.3451, allocations: 187 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.3452, allocations: 29.7 kB / 0.585 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3453, allocations: 4.578 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.3453, allocations: 22.8 kB / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.3454, allocations: 10.33 kB / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3454, allocations: 0 / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.3457, allocations: 176.7 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.3458, allocations: 6.406 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3458, allocations: 14.73 kB / 0.5852 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.346, allocations: 131.3 kB / 0.5853 GB, free: 24.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.346, allocations: 7.875 kB / 0.5853 GB, free: 24.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3461, allocations: 0 / 0.5853 GB, free: 24.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3461, allocations: 1.438 kB / 0.5853 GB, free: 24.62 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.0003293/0.3464, allocations: 348.5 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3464, allocations: 9.625 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3465, allocations: 3.094 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/0.3466, allocations: 169.5 kB / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.3466, allocations: 28.61 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3466, allocations: 1.312 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3468, allocations: 44.56 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3468, allocations: 2 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3468, allocations: 1.312 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.3468, allocations: 0 / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.3469, allocations: 22.23 kB / 0.5859 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.3474, allocations: 0.5821 MB / 0.5865 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.3474, allocations: 20.95 kB / 0.5865 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.3475, allocations: 6.141 kB / 0.5865 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.3476, allocations: 348.6 kB / 0.5869 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3476, allocations: 31.56 kB / 0.5869 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3477, allocations: 0 / 0.5869 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.3478, allocations: 44.42 kB / 0.5869 GB, free: 22.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.3478, allocations: 52.47 kB / 0.587 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.3479, allocations: 107.6 kB / 0.5871 GB, free: 22.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.3479, allocations: 27.58 kB / 0.5871 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.348, allocations: 89.39 kB / 0.5872 GB, free: 22.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.348, allocations: 0.5938 kB / 0.5872 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.348, allocations: 22.7 kB / 0.5872 GB, free: 22.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.3481, allocations: 316.4 kB / 0.5875 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.3481, allocations: 4.438 kB / 0.5875 GB, free: 22.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3481, allocations: 17.73 kB / 0.5875 GB, free: 22.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.3482, allocations: 25.84 kB / 0.5876 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3482, allocations: 0 / 0.5876 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.826e-05/0.3482, allocations: 54.41 kB / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3483, allocations: 7.875 kB / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3483, allocations: 0 / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3483, allocations: 1.281 kB / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.3483, allocations: 5.312 kB / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3483, allocations: 0 / 0.5876 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.3484, allocations: 5.562 kB / 0.5876 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3484, allocations: 3.375 kB / 0.5876 GB, free: 22.05 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.38e-05/0.3484, allocations: 119.1 kB / 0.5878 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3485, allocations: 7.578 kB / 0.5878 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3486, allocations: 119.6 kB / 0.5879 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/0.3486, allocations: 178.7 kB / 0.588 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-05/0.3487, allocations: 178.7 kB / 0.5882 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/0.3487, allocations: 189.2 kB / 0.5884 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3489, allocations: 408.7 kB / 0.5888 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.3489, allocations: 106 kB / 0.5889 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3489, allocations: 107.9 kB / 0.589 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/0.3489, allocations: 179.1 kB / 0.5892 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.349, allocations: 180.2 kB / 0.5893 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/0.349, allocations: 182.4 kB / 0.5895 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.743e-05/0.349, allocations: 182.4 kB / 0.5897 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8e-05/0.3491, allocations: 311.6 kB / 0.59 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3492, allocations: 182 kB / 0.5901 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3492, allocations: 182.6 kB / 0.5903 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3493, allocations: 107.7 kB / 0.5904 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3494, allocations: 183.3 kB / 0.5906 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3494, allocations: 106.2 kB / 0.5907 GB, free: 18.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.3494, allocations: 80.59 kB / 0.5908 GB, free: 18.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3494, allocations: 7.875 kB / 0.5908 GB, free: 18.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3497, allocations: 42.58 kB / 0.5908 GB, free: 18.64 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.0002356/0.35, allocations: 228.4 kB / 0.591 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.361e-05/0.3501, allocations: 11.97 kB / 0.5911 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3501, allocations: 1.312 kB / 0.5911 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3501, allocations: 0 / 0.5911 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3504, allocations: 462.9 kB / 0.5915 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.3506, allocations: 198.1 kB / 0.5917 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.3508, allocations: 0.6768 MB / 0.5923 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.3508, allocations: 6.188 kB / 0.5924 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.3508, allocations: 8.75 kB / 0.5924 GB, free: 17.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3508, allocations: 1.469 kB / 0.5924 GB, free: 17.1 MB / 446.1 MB Notification: Performance of Templates: time 0.003358/0.3542, allocations: 1.208 MB / 0.5935 GB, free: 16.54 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)