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.001161/0.001161, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 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.001438/0.001438, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.052/1.052, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8106/0.8106, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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 179] 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 1.573e-06/1.573e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.652e-05, allocations: 4.422 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1274/0.1275, allocations: 128.7 MB / 0.6471 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000167/0.1276, allocations: 51.73 kB / 0.6472 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.1277, allocations: 4 kB / 0.6472 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.1278, allocations: 0 / 0.6472 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.1279, allocations: 15.75 kB / 0.6472 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.129, allocations: 266.7 kB / 0.6475 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.129, allocations: 31.84 kB / 0.6475 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.1291, allocations: 8 kB / 0.6475 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.1291, allocations: 27.95 kB / 0.6475 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.1292, allocations: 4 kB / 0.6475 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1292, allocations: 0 / 0.6475 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.1295, allocations: 183.4 kB / 0.6477 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.1296, allocations: 11.92 kB / 0.6477 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.1296, allocations: 11.98 kB / 0.6477 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1299, allocations: 171.6 kB / 0.6479 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1299, allocations: 0 / 0.6479 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1299, allocations: 0 / 0.6479 GB, free: 232 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1299, allocations: 0 / 0.6479 GB, free: 232 kB / 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.0003576/0.1302, allocations: 384 kB / 0.6482 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1303, allocations: 16.03 kB / 0.6483 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1303, allocations: 1.281 kB / 0.6483 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.1304, allocations: 120.5 kB / 0.6484 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.1305, allocations: 59.91 kB / 0.6484 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1305, allocations: 4.375 kB / 0.6484 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1306, allocations: 76.41 kB / 0.6485 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1306, allocations: 0 / 0.6485 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1306, allocations: 0 / 0.6485 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.1306, allocations: 4 kB / 0.6485 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.1306, allocations: 7.984 kB / 0.6485 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.131, allocations: 280.4 kB / 0.6488 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.1311, allocations: 27.06 kB / 0.6488 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.1311, allocations: 15.62 kB / 0.6488 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.1311, allocations: 36 kB / 0.6489 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1312, allocations: 33.39 kB / 0.6489 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1312, allocations: 4 kB / 0.6489 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.1313, allocations: 41.58 kB / 0.6489 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.1313, allocations: 51.53 kB / 0.649 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.1314, allocations: 165.9 kB / 0.6491 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1314, allocations: 25.7 kB / 0.6492 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.1314, allocations: 134.8 kB / 0.6493 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.1314, allocations: 7.891 kB / 0.6493 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1315, allocations: 27.36 kB / 0.6493 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1316, allocations: 496.1 kB / 0.6498 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.1316, allocations: 0 / 0.6498 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.1316, allocations: 27.36 kB / 0.6498 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.1316, allocations: 19.38 kB / 0.6499 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1316, allocations: 4 kB / 0.6499 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.148e-05/0.1317, allocations: 49.58 kB / 0.6499 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1317, allocations: 11.98 kB / 0.6499 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1317, allocations: 0 / 0.6499 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.1317, allocations: 288 / 0.6499 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.1318, allocations: 4 kB / 0.6499 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1318, allocations: 7.922 kB / 0.6499 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.1318, allocations: 4 kB / 0.6499 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1318, allocations: 0 / 0.6499 GB, free: 13.89 MB / 0.6198 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 6.174e-05/0.1318, allocations: 164.6 kB / 0.6501 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1319, allocations: 7.922 kB / 0.6501 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.132, allocations: 175.3 kB / 0.6503 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/0.132, allocations: 268 kB / 0.6505 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-05/0.1321, allocations: 268.1 kB / 0.6508 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-05/0.1321, allocations: 264.1 kB / 0.651 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1323, allocations: 484.5 kB / 0.6515 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.1323, allocations: 149 kB / 0.6516 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1324, allocations: 152.8 kB / 0.6518 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.181e-05/0.1324, allocations: 272.1 kB / 0.652 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.1325, allocations: 276 kB / 0.6523 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.1326, allocations: 268 kB / 0.6526 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-05/0.1326, allocations: 268.1 kB / 0.6528 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1328, allocations: 440 kB / 0.6532 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.1328, allocations: 152.9 kB / 0.6534 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.1329, allocations: 276 kB / 0.6536 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.133, allocations: 152.8 kB / 0.6538 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.133, allocations: 276 kB / 0.654 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.1331, allocations: 144.9 kB / 0.6542 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.1331, allocations: 123.2 kB / 0.6543 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1331, allocations: 4 kB / 0.6543 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002278/0.1333, allocations: 63.73 kB / 0.6544 GB, free: 9.164 MB / 0.6198 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.0004091/0.1337, allocations: 290.1 kB / 0.6546 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.78e-05/0.1338, allocations: 15.69 kB / 0.6547 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1338, allocations: 4.062 kB / 0.6547 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1338, allocations: 4 kB / 0.6547 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1341, allocations: 0.7101 MB / 0.6554 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.1345, allocations: 240.8 kB / 0.6556 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.1345, allocations: 55.36 kB / 0.6556 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.1345, allocations: 8 kB / 0.6557 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.1346, allocations: 86.17 kB / 0.6557 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.1346, allocations: 0 / 0.6557 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of Templates: time 0.002944/0.1375, allocations: 1.42 MB / 0.6571 GB, free: 6.293 MB / 0.6198 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.074141561985016]