Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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.001015/0.001015, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009405/0.0009405, 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.029/1.029, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.7974/0.7974, allocations: 154.9 MB / 415.1 MB, free: 256 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.333e-05, allocations: 5.156 kB / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002064/0.002087, allocations: 1.29 MB / 0.5223 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.123/0.1251, allocations: 130.9 MB / 0.6501 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.1251, allocations: 0 / 0.6501 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.1252, allocations: 3.938 kB / 0.6501 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.1252, allocations: 3.984 kB / 0.6501 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1264, allocations: 474.1 kB / 0.6506 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.1264, allocations: 39.84 kB / 0.6506 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1265, allocations: 7.984 kB / 0.6506 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.1265, allocations: 27.97 kB / 0.6507 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.1266, allocations: 19.91 kB / 0.6507 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1266, allocations: 4 kB / 0.6507 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1276, allocations: 0.7957 MB / 0.6515 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.1277, allocations: 11.98 kB / 0.6515 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1277, allocations: 11.98 kB / 0.6515 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.1282, allocations: 0.5652 MB / 0.652 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1282, allocations: 0 / 0.652 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1282, allocations: 0 / 0.652 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1282, allocations: 0 / 0.652 GB, free: 11.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003949/0.1286, allocations: 396.1 kB / 0.6524 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1287, allocations: 12.02 kB / 0.6524 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.1288, allocations: 29.11 kB / 0.6525 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.571e-05/0.1289, allocations: 108.6 kB / 0.6526 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1289, allocations: 4.375 kB / 0.6526 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1289, allocations: 8.375 kB / 0.6526 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.129, allocations: 127.3 kB / 0.6527 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.129, allocations: 7.938 kB / 0.6527 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.129, allocations: 0 / 0.6527 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.129, allocations: 0 / 0.6527 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.129, allocations: 19.95 kB / 0.6527 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.1291, allocations: 105.3 kB / 0.6528 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.1292, allocations: 46.98 kB / 0.6529 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.1292, allocations: 27.66 kB / 0.6529 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/0.1337, allocations: 2.466 MB / 0.6553 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1338, allocations: 37.39 kB / 0.6553 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1338, allocations: 0 / 0.6553 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0153/0.1491, allocations: 6.336 MB / 0.6615 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.1491, allocations: 59.41 kB / 0.6616 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.1492, allocations: 161.9 kB / 0.6617 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1492, allocations: 29.7 kB / 0.6618 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1492, allocations: 126.9 kB / 0.6619 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1493, allocations: 39.64 kB / 0.6619 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1493, allocations: 43.34 kB / 0.662 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1494, allocations: 0.4884 MB / 0.6624 GB, free: 192 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.1494, allocations: 8 kB / 0.6624 GB, free: 184 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.1495, allocations: 15.98 kB / 0.6625 GB, free: 168 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.1495, allocations: 47.61 kB / 0.6625 GB, free: 116 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1495, allocations: 128 / 0.6625 GB, free: 116 kB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000122/0.1496, allocations: 97.58 kB / 0.6626 GB, free: 12 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1497, allocations: 10.28 kB / 0.6626 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1497, allocations: 4 kB / 0.6626 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1497, allocations: 0 / 0.6626 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.1497, allocations: 23.98 kB / 0.6626 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.1497, allocations: 0 / 0.6626 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.1498, allocations: 4 kB / 0.6626 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1498, allocations: 4 kB / 0.6626 GB, free: 15.97 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.726e-05/0.1498, allocations: 160.5 kB / 0.6628 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1499, allocations: 23.88 kB / 0.6628 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.15, allocations: 117.4 kB / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.15, allocations: 0 / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.15, allocations: 0 / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.15, allocations: 0 / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.085e-05/0.1501, allocations: 113.2 kB / 0.663 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1501, allocations: 0 / 0.663 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.1502, allocations: 27.92 kB / 0.6631 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1502, allocations: 4 kB / 0.6631 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1502, allocations: 8 kB / 0.6631 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/0.1505, allocations: 7.984 kB / 0.6631 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1505, allocations: 3.938 kB / 0.6631 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1506, allocations: 143.2 kB / 0.6632 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1507, allocations: 7.984 kB / 0.6632 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1507, allocations: 8 kB / 0.6632 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.1507, allocations: 7.984 kB / 0.6632 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1508, allocations: 11.92 kB / 0.6633 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1508, allocations: 15.94 kB / 0.6633 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.1508, allocations: 119.2 kB / 0.6634 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.1508, allocations: 0 / 0.6634 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001289/0.1521, allocations: 0.5621 MB / 0.6639 GB, free: 14.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.001888/0.154, allocations: 378.8 kB / 0.6643 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1541, allocations: 62.59 kB / 0.6644 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1541, allocations: 3.938 kB / 0.6644 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.1541, allocations: 31.67 kB / 0.6644 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.1543, allocations: 23.98 kB / 0.6644 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.1548, allocations: 281.2 kB / 0.6647 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.1548, allocations: 67.2 kB / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1549, allocations: 32.58 kB / 0.6648 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.1549, allocations: 94.19 kB / 0.6649 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.1549, allocations: 0 / 0.6649 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.3043/0.4592, allocations: 27.01 MB / 0.6912 GB, free: 61.61 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.831154815852642]