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.001181/0.001181, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001422/0.001422, allocations: 173 kB / 23.49 MB, free: 1.059 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.8185/0.8185, allocations: 154.8 MB / 415.1 MB, free: 492 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 2.295e-06/2.295e-06, allocations: 0.5469 kB / 0.5205 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.763e-05, allocations: 5.594 kB / 0.5205 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001894/0.001931, allocations: 1.298 MB / 0.5218 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1285/0.1304, allocations: 133.1 MB / 0.6518 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.1304, allocations: 3.938 kB / 0.6518 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.1305, allocations: 0 / 0.6518 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.1305, allocations: 0 / 0.6518 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1319, allocations: 470 kB / 0.6522 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.132, allocations: 47.83 kB / 0.6523 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.132, allocations: 0 / 0.6523 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.1321, allocations: 35.95 kB / 0.6523 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.1321, allocations: 19.91 kB / 0.6523 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1322, allocations: 0 / 0.6523 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1333, allocations: 0.7996 MB / 0.6531 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.1333, allocations: 4 kB / 0.6531 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.1333, allocations: 15.97 kB / 0.6531 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.1339, allocations: 0.5613 MB / 0.6537 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1339, allocations: 0 / 0.6537 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1339, allocations: 0 / 0.6537 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1339, allocations: 0 / 0.6537 GB, free: 9.648 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.0004667/0.1344, allocations: 400.1 kB / 0.6541 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1344, allocations: 12.03 kB / 0.6541 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1346, allocations: 25.11 kB / 0.6541 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.1347, allocations: 108.6 kB / 0.6542 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1348, allocations: 4.375 kB / 0.6542 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1348, allocations: 4.375 kB / 0.6542 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1349, allocations: 135.3 kB / 0.6543 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1349, allocations: 7.875 kB / 0.6544 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.135, allocations: 0 / 0.6544 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.135, allocations: 4 kB / 0.6544 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.135, allocations: 15.97 kB / 0.6544 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1352, allocations: 124.6 kB / 0.6545 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.872e-05/0.1353, allocations: 51.05 kB / 0.6545 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.1353, allocations: 19.67 kB / 0.6546 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005618/0.1409, allocations: 2.891 MB / 0.6574 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.1409, allocations: 33.39 kB / 0.6574 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.1409, allocations: 7.938 kB / 0.6574 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01873/0.1597, allocations: 8.133 MB / 0.6654 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1597, allocations: 55.41 kB / 0.6654 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.1598, allocations: 153.9 kB / 0.6656 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1598, allocations: 29.7 kB / 0.6656 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.1599, allocations: 130.9 kB / 0.6657 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.1599, allocations: 35.69 kB / 0.6658 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1599, allocations: 35.38 kB / 0.6658 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.16, allocations: 0.4885 MB / 0.6663 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.1601, allocations: 19.98 kB / 0.6663 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.1601, allocations: 19.94 kB / 0.6663 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.1602, allocations: 50.55 kB / 0.6663 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1602, allocations: 0 / 0.6663 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001621/0.1604, allocations: 113.5 kB / 0.6665 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1604, allocations: 4 kB / 0.6665 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1604, allocations: 3.938 kB / 0.6665 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1604, allocations: 4 kB / 0.6665 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.1605, allocations: 19.98 kB / 0.6665 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.1605, allocations: 11.97 kB / 0.6665 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.1605, allocations: 8 kB / 0.6665 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1605, allocations: 4 kB / 0.6665 GB, free: 12.17 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 7.25e-05/0.1606, allocations: 156.6 kB / 0.6667 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1606, allocations: 23.83 kB / 0.6667 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1608, allocations: 109.5 kB / 0.6668 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1608, allocations: 7.938 kB / 0.6668 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1608, allocations: 4 kB / 0.6668 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1608, allocations: 0 / 0.6668 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.161, allocations: 128.6 kB / 0.6669 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.161, allocations: 0 / 0.6669 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.161, allocations: 23.98 kB / 0.6669 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.161, allocations: 4 kB / 0.6669 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1611, allocations: 7.938 kB / 0.667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1611, allocations: 0 / 0.667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1611, allocations: 0 / 0.667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1613, allocations: 154.8 kB / 0.6671 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1613, allocations: 11.98 kB / 0.6671 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1613, allocations: 7.938 kB / 0.6671 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1614, allocations: 16 kB / 0.6671 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.1614, allocations: 11.92 kB / 0.6671 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1614, allocations: 7.984 kB / 0.6672 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.1615, allocations: 119.2 kB / 0.6673 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1615, allocations: 0 / 0.6673 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001571/0.163, allocations: 0.5699 MB / 0.6678 GB, free: 10.75 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.002067/0.1651, allocations: 382.8 kB / 0.6682 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1653, allocations: 63.59 kB / 0.6683 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1653, allocations: 8 kB / 0.6683 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.1653, allocations: 39.59 kB / 0.6683 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.1655, allocations: 21.7 kB / 0.6683 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.1662, allocations: 285.2 kB / 0.6686 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.1663, allocations: 67.33 kB / 0.6687 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.1663, allocations: 20.61 kB / 0.6687 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1664, allocations: 24.48 kB / 0.6687 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of SimCode: time 1.803e-06/0.1664, allocations: 0 / 0.6687 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of Templates: time 0.2642/0.4305, allocations: 26.07 MB / 0.6942 GB, free: 190.6 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: 6.549398314906284]