Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001823/0.001823, allocations: 102.1 kB / 19.7 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.002408/0.002408, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.493/1.493, 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.8534/0.8534, allocations: 134 MB / 447.2 MB, free: 10.21 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002024/0.002024, allocations: 66.64 kB / 0.6197 GB, free: 6.688 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1795, allocations: 85.91 MB / 0.7036 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006624/0.1862, allocations: 4.146 MB / 0.7077 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002471/0.1864, allocations: 167.5 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.1864, allocations: 0 / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1866, allocations: 0 / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.1866, allocations: 15.91 kB / 0.7079 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.187, allocations: 90.81 kB / 0.708 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1872, allocations: 27.92 kB / 0.708 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.1872, allocations: 11.97 kB / 0.708 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.1873, allocations: 11.94 kB / 0.708 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.1874, allocations: 19.92 kB / 0.708 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1874, allocations: 0 / 0.708 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1876, allocations: 79.77 kB / 0.7081 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.1877, allocations: 7.984 kB / 0.7081 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1877, allocations: 11.94 kB / 0.7081 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1879, allocations: 63.84 kB / 0.7082 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1879, allocations: 4 kB / 0.7082 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1879, allocations: 0 / 0.7082 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.1879, allocations: 0 / 0.7082 GB, free: 12.19 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.0004951/0.1884, allocations: 266.3 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1885, allocations: 8.031 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.1885, allocations: 4.938 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1886, allocations: 102.5 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.1887, allocations: 51.97 kB / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1887, allocations: 8.375 kB / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1889, allocations: 49.61 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1889, allocations: 0 / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1889, allocations: 3.938 kB / 0.7087 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.1889, allocations: 4 kB / 0.7087 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.189, allocations: 19.97 kB / 0.7087 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1895, allocations: 235.8 kB / 0.7089 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.1895, allocations: 22.52 kB / 0.7089 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.1895, allocations: 8.922 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.1896, allocations: 7.984 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1896, allocations: 30.56 kB / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.1896, allocations: 0 / 0.709 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.1898, allocations: 41.64 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1899, allocations: 51.53 kB / 0.7091 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.19, allocations: 109.8 kB / 0.7092 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.19, allocations: 25.7 kB / 0.7092 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.1901, allocations: 84.09 kB / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.1901, allocations: 0 / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1901, allocations: 25.66 kB / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1903, allocations: 314.8 kB / 0.7096 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.1903, allocations: 8 kB / 0.7096 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.1903, allocations: 21.7 kB / 0.7096 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.1904, allocations: 25.66 kB / 0.7096 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1904, allocations: 0 / 0.7096 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.236e-05/0.1904, allocations: 45.69 kB / 0.7097 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1905, allocations: 4 kB / 0.7097 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1905, allocations: 4 kB / 0.7097 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1905, allocations: 0 / 0.7097 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.1905, allocations: 12 kB / 0.7097 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1905, allocations: 0 / 0.7097 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.1906, allocations: 0 / 0.7097 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1906, allocations: 4 kB / 0.7097 GB, free: 10.41 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 9.01e-05/0.1907, allocations: 117.8 kB / 0.7098 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1907, allocations: 4 kB / 0.7098 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1908, allocations: 113 kB / 0.7099 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.37e-05/0.1909, allocations: 184.2 kB / 0.7101 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-05/0.191, allocations: 180.2 kB / 0.7103 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-05/0.1911, allocations: 184.2 kB / 0.7105 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.1914, allocations: 376.2 kB / 0.7108 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.1914, allocations: 104.9 kB / 0.7109 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1915, allocations: 112.9 kB / 0.711 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.593e-05/0.1916, allocations: 184.3 kB / 0.7112 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.1917, allocations: 180.2 kB / 0.7114 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.644e-05/0.1917, allocations: 180.2 kB / 0.7115 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-05/0.1918, allocations: 184.2 kB / 0.7117 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.192, allocations: 315.7 kB / 0.712 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.1921, allocations: 104.9 kB / 0.7121 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1922, allocations: 184.2 kB / 0.7123 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1924, allocations: 101 kB / 0.7124 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.1925, allocations: 188.2 kB / 0.7126 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.1925, allocations: 109 kB / 0.7127 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.1926, allocations: 83.28 kB / 0.7128 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1926, allocations: 0 / 0.7128 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002689/0.1928, allocations: 15.94 kB / 0.7128 GB, free: 7.082 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.000219/0.1931, allocations: 198.4 kB / 0.713 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.859e-05/0.1931, allocations: 15.92 kB / 0.713 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1931, allocations: 0 / 0.713 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.1931, allocations: 4.125 kB / 0.713 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.1936, allocations: 459.7 kB / 0.7134 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.194, allocations: 199.9 kB / 0.7136 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1943, allocations: 0.6729 MB / 0.7143 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1944, allocations: 15.44 kB / 0.7143 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1944, allocations: 0 / 0.7143 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.002631/0.197, allocations: 0.7183 MB / 0.715 GB, free: 4.746 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.272580577991903] Failed to read output from testmodel.py, exit status != 0: 0.2051780321635306 0.221091098 0.030014506000000003 Calling exit ...