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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 213 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8783/0.8783, allocations: 134 MB / 447.2 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 61.62 kB / 0.6198 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 85.91 MB / 0.7037 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006651/0.1899, allocations: 3.415 MB / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.1901, allocations: 59.78 kB / 0.7071 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.1901, allocations: 4 kB / 0.7071 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1902, allocations: 0 / 0.7071 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.1903, allocations: 11.91 kB / 0.7071 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.191, allocations: 191.2 kB / 0.7073 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1911, allocations: 35.91 kB / 0.7073 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1912, allocations: 4 kB / 0.7073 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1912, allocations: 23.86 kB / 0.7073 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.1913, allocations: 15.97 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1913, allocations: 0 / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.1918, allocations: 179.5 kB / 0.7075 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1918, allocations: 11.98 kB / 0.7075 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1919, allocations: 15.92 kB / 0.7075 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1922, allocations: 135.6 kB / 0.7077 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1922, allocations: 0 / 0.7077 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.506e-06/0.1922, allocations: 4 kB / 0.7077 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1922, allocations: 0 / 0.7077 GB, free: 12.81 MB / 0.5294 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.0004743/0.1927, allocations: 274.2 kB / 0.7079 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1928, allocations: 8.031 kB / 0.7079 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1928, allocations: 4.938 kB / 0.7079 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1929, allocations: 106.5 kB / 0.708 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.534e-05/0.193, allocations: 63.89 kB / 0.7081 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.193, allocations: 4.375 kB / 0.7081 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1932, allocations: 49.61 kB / 0.7082 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1932, allocations: 3.938 kB / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1932, allocations: 0 / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.1933, allocations: 4 kB / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.1933, allocations: 11.98 kB / 0.7082 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.1939, allocations: 267.9 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.1939, allocations: 14.64 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.194, allocations: 8.859 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1941, allocations: 35.97 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1941, allocations: 34.5 kB / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1941, allocations: 0 / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001724/0.1943, allocations: 33.8 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1943, allocations: 59.44 kB / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/0.1944, allocations: 97.84 kB / 0.7087 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1944, allocations: 25.7 kB / 0.7087 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1945, allocations: 96.03 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.1945, allocations: 0 / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1946, allocations: 21.66 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1947, allocations: 322.7 kB / 0.7091 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.1947, allocations: 8 kB / 0.7091 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.1948, allocations: 21.64 kB / 0.7092 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.1948, allocations: 17.72 kB / 0.7092 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1948, allocations: 0 / 0.7092 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.444e-05/0.1949, allocations: 53.62 kB / 0.7092 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1949, allocations: 4 kB / 0.7092 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1949, allocations: 4.062 kB / 0.7092 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1949, allocations: 0 / 0.7092 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.195, allocations: 4 kB / 0.7092 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.195, allocations: 4 kB / 0.7093 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.195, allocations: 0 / 0.7093 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.195, allocations: 0 / 0.7093 GB, free: 10.97 MB / 0.5294 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 8.928e-05/0.1951, allocations: 113.8 kB / 0.7094 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1951, allocations: 3.984 kB / 0.7094 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.1953, allocations: 127 kB / 0.7095 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.112e-05/0.1953, allocations: 180.3 kB / 0.7097 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/0.1954, allocations: 184.2 kB / 0.7098 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/0.1955, allocations: 180.2 kB / 0.71 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1958, allocations: 384.3 kB / 0.7104 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.655e-05/0.1958, allocations: 112.9 kB / 0.7105 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1959, allocations: 101 kB / 0.7106 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.342e-05/0.196, allocations: 184.4 kB / 0.7108 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.196, allocations: 184.3 kB / 0.7109 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.1961, allocations: 176.3 kB / 0.7111 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.091e-05/0.1962, allocations: 184.2 kB / 0.7113 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1964, allocations: 315.7 kB / 0.7116 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1964, allocations: 109 kB / 0.7117 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.1965, allocations: 180.2 kB / 0.7118 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1967, allocations: 108.9 kB / 0.712 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1968, allocations: 180.3 kB / 0.7121 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.1968, allocations: 112.9 kB / 0.7122 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.1969, allocations: 87.28 kB / 0.7123 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1969, allocations: 0 / 0.7123 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003157/0.1972, allocations: 35.88 kB / 0.7123 GB, free: 7.609 MB / 0.5294 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.0003138/0.1975, allocations: 238.2 kB / 0.7126 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1976, allocations: 4 kB / 0.7126 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1976, allocations: 0 / 0.7126 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1976, allocations: 0 / 0.7126 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.1981, allocations: 470 kB / 0.713 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.1985, allocations: 207.8 kB / 0.7132 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1988, allocations: 0.6768 MB / 0.7139 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1989, allocations: 7.438 kB / 0.7139 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.1989, allocations: 0 / 0.7139 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of Templates: time 0.003323/0.2022, allocations: 1.184 MB / 0.7151 GB, free: 4.785 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.937996099004522] Failed to read output from testmodel.py, exit status != 0: 0.21082657598890364 0.228404986 0.032788249000000005 Calling exit ...