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.001084/0.001084, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.00115/0.00115, allocations: 170 kB / 23.27 MB, free: 1.223 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.01/1.01, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.8039/0.8039, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.513e-06/1.513e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.587e-05, allocations: 6 kB / 0.5207 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1423/0.1423, allocations: 128.7 MB / 0.6464 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.1426, allocations: 47.8 kB / 0.6464 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.1427, allocations: 0 / 0.6464 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1428, allocations: 11.94 kB / 0.6464 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1429, allocations: 15.84 kB / 0.6464 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.144, allocations: 262.8 kB / 0.6467 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1441, allocations: 31.86 kB / 0.6467 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1441, allocations: 7.938 kB / 0.6467 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.1442, allocations: 15.97 kB / 0.6467 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.1443, allocations: 19.92 kB / 0.6468 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1443, allocations: 0 / 0.6468 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.145, allocations: 191.4 kB / 0.6469 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1451, allocations: 0 / 0.6469 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.1451, allocations: 8 kB / 0.647 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1454, allocations: 179.5 kB / 0.6471 GB, free: 200 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.1454, allocations: 0 / 0.6471 GB, free: 200 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1454, allocations: 0 / 0.6471 GB, free: 200 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1454, allocations: 0 / 0.6471 GB, free: 200 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.0005383/0.146, allocations: 384 kB / 0.6475 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.146, allocations: 12.03 kB / 0.6475 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1461, allocations: 9.281 kB / 0.6475 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1462, allocations: 116.5 kB / 0.6476 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/0.1463, allocations: 51.97 kB / 0.6477 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1463, allocations: 8.312 kB / 0.6477 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1465, allocations: 76.41 kB / 0.6478 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1465, allocations: 0 / 0.6478 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1465, allocations: 0 / 0.6478 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.1465, allocations: 4 kB / 0.6478 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.1465, allocations: 7.984 kB / 0.6478 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1472, allocations: 288.4 kB / 0.648 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.1472, allocations: 31 kB / 0.6481 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.1472, allocations: 11.62 kB / 0.6481 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.1473, allocations: 40.02 kB / 0.6481 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1473, allocations: 37.39 kB / 0.6482 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/0.1473, allocations: 0 / 0.6482 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.1474, allocations: 29.7 kB / 0.6482 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1475, allocations: 55.34 kB / 0.6482 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.1476, allocations: 170 kB / 0.6484 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1476, allocations: 25.7 kB / 0.6484 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.1476, allocations: 138.8 kB / 0.6486 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.1477, allocations: 15.89 kB / 0.6486 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1477, allocations: 23.36 kB / 0.6486 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1478, allocations: 492.1 kB / 0.6491 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.1478, allocations: 0 / 0.6491 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.1478, allocations: 19.38 kB / 0.6491 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.1479, allocations: 35.34 kB / 0.6491 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1479, allocations: 4 kB / 0.6491 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.265e-05/0.1479, allocations: 45.58 kB / 0.6492 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1479, allocations: 4 kB / 0.6492 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.148, allocations: 0 / 0.6492 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.148, allocations: 0 / 0.6492 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.148, allocations: 15.98 kB / 0.6492 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.148, allocations: 0 / 0.6492 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.148, allocations: 0 / 0.6492 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.148, allocations: 0 / 0.6492 GB, free: 13.86 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 7.001e-05/0.1481, allocations: 164.5 kB / 0.6493 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.1481, allocations: 8 kB / 0.6493 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1482, allocations: 171.3 kB / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.037e-05/0.1483, allocations: 272 kB / 0.6498 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.418e-05/0.1484, allocations: 264.1 kB / 0.65 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/0.1485, allocations: 264.1 kB / 0.6503 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1487, allocations: 488.5 kB / 0.6507 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/0.1487, allocations: 149 kB / 0.6509 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.1488, allocations: 156.8 kB / 0.651 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.1488, allocations: 264.1 kB / 0.6513 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.1489, allocations: 268 kB / 0.6515 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.026e-05/0.149, allocations: 280 kB / 0.6518 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-05/0.1491, allocations: 264.1 kB / 0.6521 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1493, allocations: 448 kB / 0.6525 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1493, allocations: 148.9 kB / 0.6526 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.1494, allocations: 275.9 kB / 0.6529 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1495, allocations: 148.9 kB / 0.653 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.1496, allocations: 268 kB / 0.6533 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.1496, allocations: 148.9 kB / 0.6534 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.1497, allocations: 131.2 kB / 0.6536 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1497, allocations: 0 / 0.6536 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002257/0.1499, allocations: 55.75 kB / 0.6536 GB, free: 9.141 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.0003179/0.1502, allocations: 294.3 kB / 0.6539 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.655e-05/0.1503, allocations: 23.61 kB / 0.6539 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1503, allocations: 0 / 0.6539 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.1503, allocations: 4.125 kB / 0.6539 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.151, allocations: 0.7118 MB / 0.6546 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.1514, allocations: 241.3 kB / 0.6548 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.1515, allocations: 55.34 kB / 0.6549 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1515, allocations: 4 kB / 0.6549 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.1516, allocations: 90.17 kB / 0.655 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.1516, allocations: 0 / 0.655 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of Templates: time 0.003092/0.1547, allocations: 1.414 MB / 0.6564 GB, free: 6.258 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: 3.9806208182126284]