Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001876/0.001876, allocations: 92.7 kB / 19.44 MB, free: 328 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.002478/0.002478, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.232/1.232, allocations: 154.8 MB / 414.4 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0.875 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.282e-05, allocations: 4 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.203/0.2031, allocations: 119 MB / 0.6361 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.2033, allocations: 43.81 kB / 0.6361 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.2033, allocations: 4 kB / 0.6361 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2034, allocations: 7.922 kB / 0.6361 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.2035, allocations: 15.92 kB / 0.6361 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2046, allocations: 246.8 kB / 0.6364 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2047, allocations: 39.84 kB / 0.6364 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.2048, allocations: 4 kB / 0.6364 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.2048, allocations: 11.98 kB / 0.6364 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.2049, allocations: 19.91 kB / 0.6364 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2049, allocations: 0 / 0.6364 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.2054, allocations: 183.4 kB / 0.6366 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.2054, allocations: 3.984 kB / 0.6366 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2055, allocations: 4 kB / 0.6366 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2058, allocations: 183.5 kB / 0.6368 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2058, allocations: 4 kB / 0.6368 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2058, allocations: 4 kB / 0.6368 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2058, allocations: 0 / 0.6368 GB, free: 10.3 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.0005514/0.2064, allocations: 278.1 kB / 0.6371 GB, free: 10 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2064, allocations: 15.95 kB / 0.6371 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.2065, allocations: 4.938 kB / 0.6371 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2066, allocations: 105.8 kB / 0.6372 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.2067, allocations: 55.97 kB / 0.6372 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2067, allocations: 384 / 0.6372 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2069, allocations: 79.69 kB / 0.6373 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2069, allocations: 3.938 kB / 0.6373 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2069, allocations: 4 kB / 0.6373 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.207, allocations: 0 / 0.6373 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.207, allocations: 11.98 kB / 0.6373 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.2078, allocations: 260.5 kB / 0.6376 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.2078, allocations: 18.52 kB / 0.6376 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.2078, allocations: 4.859 kB / 0.6376 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.2079, allocations: 35.97 kB / 0.6376 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.208, allocations: 34.56 kB / 0.6377 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.208, allocations: 4 kB / 0.6377 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001824/0.2081, allocations: 37.69 kB / 0.6377 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2082, allocations: 51.41 kB / 0.6378 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2083, allocations: 101.9 kB / 0.6379 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2083, allocations: 25.7 kB / 0.6379 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.2084, allocations: 88.08 kB / 0.638 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.2084, allocations: 3.953 kB / 0.638 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.2085, allocations: 17.72 kB / 0.638 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2086, allocations: 310.8 kB / 0.6383 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.2086, allocations: 7.938 kB / 0.6383 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.2087, allocations: 25.83 kB / 0.6383 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.2087, allocations: 17.72 kB / 0.6383 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2087, allocations: 3.938 kB / 0.6383 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.498e-05/0.2088, allocations: 49.62 kB / 0.6384 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2088, allocations: 8 kB / 0.6384 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2088, allocations: 0 / 0.6384 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2088, allocations: 0 / 0.6384 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.2089, allocations: 4 kB / 0.6384 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2089, allocations: 12 kB / 0.6384 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.2089, allocations: 0 / 0.6384 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2089, allocations: 4 kB / 0.6384 GB, free: 8.453 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.000115/0.209, allocations: 117.8 kB / 0.6385 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2091, allocations: 0 / 0.6385 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2092, allocations: 124.8 kB / 0.6386 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.2093, allocations: 188.2 kB / 0.6388 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.2094, allocations: 188.3 kB / 0.639 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-05/0.2095, allocations: 176.3 kB / 0.6392 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2098, allocations: 356.9 kB / 0.6395 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.882e-05/0.2099, allocations: 116.9 kB / 0.6396 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.2099, allocations: 105 kB / 0.6397 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.21, allocations: 180.2 kB / 0.6399 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.2101, allocations: 176.3 kB / 0.6401 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001042/0.2102, allocations: 180.3 kB / 0.6402 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001161/0.2104, allocations: 188.2 kB / 0.6404 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.2106, allocations: 307.8 kB / 0.6407 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.2106, allocations: 104.9 kB / 0.6408 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.2109, allocations: 188.2 kB / 0.641 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.211, allocations: 101 kB / 0.6411 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.2111, allocations: 188.3 kB / 0.6413 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.2112, allocations: 109.2 kB / 0.6414 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.2113, allocations: 83.27 kB / 0.6414 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2113, allocations: 0 / 0.6414 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003161/0.2116, allocations: 59.75 kB / 0.6415 GB, free: 5.105 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.0004094/0.212, allocations: 254.2 kB / 0.6417 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.2121, allocations: 19.98 kB / 0.6418 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2121, allocations: 0 / 0.6418 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.2121, allocations: 3.938 kB / 0.6418 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.2126, allocations: 465.9 kB / 0.6422 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2129, allocations: 179.6 kB / 0.6424 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.213, allocations: 59.34 kB / 0.6424 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2131, allocations: 11.98 kB / 0.6425 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.2131, allocations: 12.5 kB / 0.6425 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2131, allocations: 0 / 0.6425 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of Templates: time 0.004559/0.2176, allocations: 1.361 MB / 0.6438 GB, free: 2.715 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.312711423030123]