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.0009898/0.0009898, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009836/0.0009836, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9986/0.9986, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7987/0.7987, allocations: 154.9 MB / 414.8 MB, free: 392 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 179] 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.334e-06/2.334e-06, allocations: 0 / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.827e-05, allocations: 5.812 kB / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1361/0.1361, allocations: 131.1 MB / 0.6487 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.1363, allocations: 47.81 kB / 0.6488 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1363, allocations: 0 / 0.6488 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1364, allocations: 4 kB / 0.6488 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.1365, allocations: 23.78 kB / 0.6488 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008013/0.1373, allocations: 266.8 kB / 0.649 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.1374, allocations: 31.84 kB / 0.6491 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.1374, allocations: 7.984 kB / 0.6491 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.1375, allocations: 15.98 kB / 0.6491 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.1375, allocations: 15.92 kB / 0.6491 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1375, allocations: 0 / 0.6491 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1379, allocations: 183.4 kB / 0.6493 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.1379, allocations: 8 kB / 0.6493 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1379, allocations: 15.97 kB / 0.6493 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1382, allocations: 171.6 kB / 0.6495 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1382, allocations: 0 / 0.6495 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1382, allocations: 0 / 0.6495 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1382, allocations: 3.938 kB / 0.6495 GB, free: 13.66 MB / 0.6198 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.0003407/0.1385, allocations: 384 kB / 0.6498 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1386, allocations: 12.03 kB / 0.6498 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1386, allocations: 4.938 kB / 0.6499 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.1387, allocations: 116.9 kB / 0.65 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.1388, allocations: 55.97 kB / 0.65 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1388, allocations: 384 / 0.65 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1389, allocations: 80.41 kB / 0.6501 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1389, allocations: 0 / 0.6501 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1389, allocations: 3.938 kB / 0.6501 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.1389, allocations: 7.984 kB / 0.6501 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.139, allocations: 11.94 kB / 0.6501 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.1395, allocations: 299.8 kB / 0.6504 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.1395, allocations: 31 kB / 0.6504 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1395, allocations: 11.75 kB / 0.6504 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1396, allocations: 27.97 kB / 0.6505 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1397, allocations: 41.38 kB / 0.6505 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.1397, allocations: 4 kB / 0.6505 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.1398, allocations: 33.64 kB / 0.6505 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1398, allocations: 51.41 kB / 0.6506 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.1399, allocations: 165.9 kB / 0.6508 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1399, allocations: 25.7 kB / 0.6508 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.14, allocations: 130.8 kB / 0.6509 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-06/0.14, allocations: 12.02 kB / 0.6509 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.14, allocations: 27.36 kB / 0.6509 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1402, allocations: 496.1 kB / 0.6514 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.1402, allocations: 0 / 0.6514 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.1402, allocations: 23.38 kB / 0.6514 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.1403, allocations: 31.3 kB / 0.6515 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1403, allocations: 3.938 kB / 0.6515 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.814e-05/0.1404, allocations: 45.64 kB / 0.6515 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1404, allocations: 8.062 kB / 0.6515 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1404, allocations: 0 / 0.6515 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1404, allocations: 0 / 0.6515 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.1404, allocations: 15.98 kB / 0.6515 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1404, allocations: 0 / 0.6515 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.1405, allocations: 0 / 0.6515 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1405, allocations: 4 kB / 0.6515 GB, free: 11.3 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.215e-05/0.1405, allocations: 156.5 kB / 0.6517 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.1406, allocations: 4 kB / 0.6517 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.1407, allocations: 167.7 kB / 0.6519 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/0.1407, allocations: 276 kB / 0.6521 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.584e-05/0.1408, allocations: 268 kB / 0.6524 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/0.1408, allocations: 268 kB / 0.6526 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.141, allocations: 499.9 kB / 0.6531 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.141, allocations: 156.8 kB / 0.6533 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1411, allocations: 148.9 kB / 0.6534 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.277e-05/0.1411, allocations: 268.1 kB / 0.6537 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.1412, allocations: 276 kB / 0.6539 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.672e-05/0.1412, allocations: 264.1 kB / 0.6542 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.008e-05/0.1413, allocations: 272 kB / 0.6544 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1414, allocations: 444 kB / 0.6548 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.1415, allocations: 164.8 kB / 0.655 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.1416, allocations: 268.1 kB / 0.6553 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.1417, allocations: 148.8 kB / 0.6554 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1417, allocations: 272.1 kB / 0.6557 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.1417, allocations: 144.9 kB / 0.6558 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.1418, allocations: 127.2 kB / 0.6559 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1418, allocations: 0 / 0.6559 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002256/0.142, allocations: 63.67 kB / 0.656 GB, free: 6.551 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.0003067/0.1423, allocations: 302.6 kB / 0.6563 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.1424, allocations: 11.69 kB / 0.6563 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1424, allocations: 0 / 0.6563 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.1424, allocations: 4 kB / 0.6563 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1428, allocations: 0.7217 MB / 0.657 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.1432, allocations: 229.5 kB / 0.6572 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.1433, allocations: 55.36 kB / 0.6573 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.1433, allocations: 4 kB / 0.6573 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.1433, allocations: 8.5 kB / 0.6573 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.1433, allocations: 0 / 0.6573 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003298/0.1466, allocations: 1.486 MB / 0.6587 GB, free: 3.684 MB / 0.6198 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9532399717718363]