Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.001479/0.001479, allocations: 88.72 kB / 19.44 MB, free: 484 kB / 13.93 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.00171/0.00171, allocations: 161.7 kB / 22.75 MB, free: 1.812 MB / 18.57 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.196/1.196, allocations: 154.6 MB / 414.1 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.438e-05/4.684e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1942/0.1942, allocations: 119 MB / 0.6358 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002427/0.1945, allocations: 47.8 kB / 0.6359 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.1945, allocations: 0 / 0.6359 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1947, allocations: 0 / 0.6359 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1948, allocations: 19.86 kB / 0.6359 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.196, allocations: 246.8 kB / 0.6361 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1961, allocations: 35.84 kB / 0.6361 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1961, allocations: 7.984 kB / 0.6362 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.1962, allocations: 15.98 kB / 0.6362 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.1963, allocations: 15.92 kB / 0.6362 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1963, allocations: 4 kB / 0.6362 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007559/0.1971, allocations: 179.4 kB / 0.6364 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.1971, allocations: 7.984 kB / 0.6364 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.1972, allocations: 7.984 kB / 0.6364 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.1976, allocations: 183.5 kB / 0.6366 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1976, allocations: 0 / 0.6366 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1977, allocations: 0 / 0.6366 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1977, allocations: 0 / 0.6366 GB, free: 10.55 MB / 0.6042 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.000568/0.1982, allocations: 282 kB / 0.6368 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1983, allocations: 12.03 kB / 0.6368 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.1983, allocations: 4.938 kB / 0.6368 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1985, allocations: 113.7 kB / 0.6369 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1986, allocations: 51.97 kB / 0.637 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1986, allocations: 8.312 kB / 0.637 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1988, allocations: 71.7 kB / 0.6371 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1988, allocations: 0 / 0.6371 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1988, allocations: 0 / 0.6371 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.1988, allocations: 3.984 kB / 0.6371 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.1989, allocations: 23.92 kB / 0.6371 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.1997, allocations: 252.5 kB / 0.6373 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.1997, allocations: 18.52 kB / 0.6374 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.1998, allocations: 8.922 kB / 0.6374 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-05/0.1998, allocations: 31.97 kB / 0.6374 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1999, allocations: 30.56 kB / 0.6374 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1999, allocations: 0 / 0.6374 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001767/0.2001, allocations: 37.64 kB / 0.6375 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2001, allocations: 51.41 kB / 0.6375 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2002, allocations: 105.8 kB / 0.6376 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2002, allocations: 29.83 kB / 0.6376 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.2003, allocations: 84.09 kB / 0.6377 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2003, allocations: 11.95 kB / 0.6377 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2004, allocations: 13.7 kB / 0.6377 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2006, allocations: 314.8 kB / 0.638 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.2006, allocations: 4 kB / 0.638 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.2006, allocations: 17.72 kB / 0.6381 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.2007, allocations: 25.64 kB / 0.6381 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2007, allocations: 7.938 kB / 0.6381 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.2008, allocations: 57.62 kB / 0.6382 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2008, allocations: 4 kB / 0.6382 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2008, allocations: 0 / 0.6382 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2008, allocations: 0 / 0.6382 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.2009, allocations: 8 kB / 0.6382 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2009, allocations: 0 / 0.6382 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.2009, allocations: 0 / 0.6382 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2009, allocations: 4 kB / 0.6382 GB, free: 8.691 MB / 0.6042 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 0.0001054/0.201, allocations: 113.7 kB / 0.6383 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2011, allocations: 15.98 kB / 0.6383 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.2012, allocations: 121 kB / 0.6384 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/0.2013, allocations: 180.2 kB / 0.6386 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001136/0.2014, allocations: 184.3 kB / 0.6388 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001273/0.2016, allocations: 188.2 kB / 0.6389 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.2019, allocations: 356.9 kB / 0.6393 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-05/0.2019, allocations: 108.9 kB / 0.6394 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.202, allocations: 105 kB / 0.6395 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.2021, allocations: 176.3 kB / 0.6396 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.2022, allocations: 184.2 kB / 0.6398 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001071/0.2023, allocations: 180.3 kB / 0.64 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001236/0.2025, allocations: 184.2 kB / 0.6402 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2027, allocations: 303.8 kB / 0.6405 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.2028, allocations: 112.9 kB / 0.6406 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2029, allocations: 184.3 kB / 0.6407 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2031, allocations: 112.9 kB / 0.6409 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2032, allocations: 176.3 kB / 0.641 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.2033, allocations: 105 kB / 0.6411 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.89e-05/0.2034, allocations: 91.27 kB / 0.6412 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.2034, allocations: 0 / 0.6412 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003839/0.2038, allocations: 55.69 kB / 0.6413 GB, free: 5.34 MB / 0.6042 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.0004433/0.2042, allocations: 258.7 kB / 0.6415 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.969e-05/0.2043, allocations: 8 kB / 0.6415 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2043, allocations: 0 / 0.6415 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2043, allocations: 4.125 kB / 0.6415 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.2048, allocations: 474 kB / 0.642 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.2053, allocations: 175.5 kB / 0.6421 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.2054, allocations: 55.36 kB / 0.6422 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.277e-05/0.2054, allocations: 15.78 kB / 0.6422 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.2055, allocations: 12.5 kB / 0.6422 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2055, allocations: 4 kB / 0.6422 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of Templates: time 0.005138/0.2106, allocations: 1.356 MB / 0.6435 GB, free: 2.953 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.173224213998765]