Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 190 kB / 22.11 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 207.6 MB / 232.8 MB, free: 2.832 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4421/0.4421, allocations: 55.67 MB / 340.7 MB, free: 11.51 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 81.19 kB / 482 MB, free: 36.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1858, allocations: 62.87 MB / 0.5321 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008527/0.1944, allocations: 4.053 MB / 0.5361 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002708/0.1946, allocations: 143.5 kB / 0.5362 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.1947, allocations: 3.938 kB / 0.5362 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1948, allocations: 0 / 0.5362 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1949, allocations: 19.91 kB / 0.5362 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.1954, allocations: 75.72 kB / 0.5363 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.1955, allocations: 27.91 kB / 0.5363 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.1956, allocations: 0 / 0.5363 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.1957, allocations: 19.92 kB / 0.5364 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1958, allocations: 11.98 kB / 0.5364 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1958, allocations: 0 / 0.5364 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1961, allocations: 47.81 kB / 0.5364 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.1962, allocations: 15.92 kB / 0.5364 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1962, allocations: 4 kB / 0.5364 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1964, allocations: 43.89 kB / 0.5365 GB, free: 6.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1964, allocations: 7.938 kB / 0.5365 GB, free: 6.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1964, allocations: 0 / 0.5365 GB, free: 6.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1964, allocations: 0 / 0.5365 GB, free: 6.559 MB / 398.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.0004944/0.1969, allocations: 258.3 kB / 0.5367 GB, free: 6.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.1969, allocations: 8.031 kB / 0.5367 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.197, allocations: 4.938 kB / 0.5367 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1971, allocations: 102.5 kB / 0.5368 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.844e-05/0.1972, allocations: 30.25 kB / 0.5369 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1972, allocations: 4.375 kB / 0.5369 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1974, allocations: 53.56 kB / 0.5369 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1974, allocations: 0 / 0.5369 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1974, allocations: 0 / 0.5369 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.1975, allocations: 4 kB / 0.5369 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.751e-05/0.1975, allocations: 11.98 kB / 0.5369 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.1981, allocations: 227.9 kB / 0.5372 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.1981, allocations: 22.52 kB / 0.5372 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.1982, allocations: 16.95 kB / 0.5372 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.1982, allocations: 4 kB / 0.5372 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1983, allocations: 30.56 kB / 0.5372 GB, free: 5.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.1983, allocations: 3.938 kB / 0.5372 GB, free: 5.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000192/0.1985, allocations: 33.7 kB / 0.5373 GB, free: 5.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1985, allocations: 55.39 kB / 0.5373 GB, free: 5.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1986, allocations: 102 kB / 0.5374 GB, free: 5.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1987, allocations: 25.7 kB / 0.5374 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1987, allocations: 92.03 kB / 0.5375 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.1987, allocations: 0 / 0.5375 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1988, allocations: 21.7 kB / 0.5375 GB, free: 5.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1989, allocations: 318.7 kB / 0.5379 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.199, allocations: 4 kB / 0.5379 GB, free: 4.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.199, allocations: 29.88 kB / 0.5379 GB, free: 4.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.199, allocations: 13.72 kB / 0.5379 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.199, allocations: 0 / 0.5379 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.423e-05/0.1991, allocations: 49.62 kB / 0.5379 GB, free: 4.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1991, allocations: 8 kB / 0.538 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1991, allocations: 3.938 kB / 0.538 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1992, allocations: 0 / 0.538 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.1992, allocations: 8.062 kB / 0.538 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1992, allocations: 4 kB / 0.538 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.1992, allocations: 3.953 kB / 0.538 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1992, allocations: 0 / 0.538 GB, free: 4.836 MB / 398.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 0.0001096/0.1994, allocations: 121.8 kB / 0.5381 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1994, allocations: 0 / 0.5381 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.1995, allocations: 116.9 kB / 0.5382 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-05/0.1996, allocations: 184.3 kB / 0.5384 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/0.1997, allocations: 188.2 kB / 0.5386 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/0.1998, allocations: 180.3 kB / 0.5387 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.2001, allocations: 376.2 kB / 0.5391 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.306e-05/0.2002, allocations: 109 kB / 0.5392 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.2002, allocations: 101 kB / 0.5393 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.2003, allocations: 184.2 kB / 0.5395 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.2005, allocations: 176.3 kB / 0.5396 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-05/0.2006, allocations: 184.2 kB / 0.5398 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001024/0.2007, allocations: 184.2 kB / 0.54 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.2009, allocations: 311.7 kB / 0.5403 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2009, allocations: 101 kB / 0.5404 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.201, allocations: 188.2 kB / 0.5406 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2012, allocations: 108.9 kB / 0.5407 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2013, allocations: 180.3 kB / 0.5408 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.2014, allocations: 108.9 kB / 0.5409 GB, free: 1.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.2014, allocations: 83.27 kB / 0.541 GB, free: 1.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2014, allocations: 0 / 0.541 GB, free: 1.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.2018, allocations: 15.94 kB / 0.541 GB, free: 1.508 MB / 398.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.0003556/0.2021, allocations: 206.4 kB / 0.5412 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.2022, allocations: 4 kB / 0.5412 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2022, allocations: 4.125 kB / 0.5412 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.2022, allocations: 3.938 kB / 0.5412 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.2027, allocations: 461.7 kB / 0.5417 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.2031, allocations: 178.2 kB / 0.5418 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.2036, allocations: 0.6768 MB / 0.5425 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.2036, allocations: 4 kB / 0.5425 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.2036, allocations: 11.44 kB / 0.5425 GB, free: 15.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2036, allocations: 0 / 0.5425 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Templates: time 0.003403/0.207, allocations: 0.6098 MB / 0.5431 GB, free: 15.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.447613279335201] Failed to read output from testmodel.py, exit status != 0: 0.21503339614719152 0.23122104500000001 0.031439897 Calling exit ...