Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007552/0.0007552, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009724/0.0009724, allocations: 169 kB / 23.02 MB, free: 1.547 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.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7759/0.7759, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.724e-05, allocations: 6.391 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001566/0.001583, allocations: 1.293 MB / 0.5215 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1198/0.1214, allocations: 133.4 MB / 0.6518 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1215, allocations: 0 / 0.6518 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.1215, allocations: 0 / 0.6518 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.1215, allocations: 7.984 kB / 0.6518 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1226, allocations: 478 kB / 0.6523 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.1227, allocations: 43.83 kB / 0.6523 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.1227, allocations: 4 kB / 0.6523 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.1228, allocations: 27.97 kB / 0.6523 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.1229, allocations: 15.91 kB / 0.6523 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1229, allocations: 4 kB / 0.6523 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.1238, allocations: 0.7996 MB / 0.6531 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1238, allocations: 7.984 kB / 0.6531 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1239, allocations: 11.98 kB / 0.6531 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.1244, allocations: 0.5691 MB / 0.6537 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1244, allocations: 0 / 0.6537 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1244, allocations: 0 / 0.6537 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1244, allocations: 0 / 0.6537 GB, free: 9.293 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.0004296/0.1248, allocations: 400.1 kB / 0.6541 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1249, allocations: 8.031 kB / 0.6541 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.125, allocations: 25.11 kB / 0.6541 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.101e-05/0.1251, allocations: 108.6 kB / 0.6542 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1251, allocations: 4.375 kB / 0.6542 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1251, allocations: 4.375 kB / 0.6542 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1253, allocations: 135.3 kB / 0.6544 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1253, allocations: 7.875 kB / 0.6544 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1253, allocations: 0 / 0.6544 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1253, allocations: 4 kB / 0.6544 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.1253, allocations: 19.95 kB / 0.6544 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1255, allocations: 120.6 kB / 0.6545 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.1255, allocations: 51.05 kB / 0.6546 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.1256, allocations: 23.91 kB / 0.6546 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005199/0.1308, allocations: 2.891 MB / 0.6574 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1308, allocations: 45.31 kB / 0.6574 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1308, allocations: 0 / 0.6574 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.02266/0.1535, allocations: 8.09 MB / 0.6653 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1535, allocations: 55.41 kB / 0.6654 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.1536, allocations: 157.9 kB / 0.6655 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1536, allocations: 33.7 kB / 0.6656 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1536, allocations: 130.9 kB / 0.6657 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1536, allocations: 35.69 kB / 0.6657 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1537, allocations: 39.36 kB / 0.6658 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1538, allocations: 496.1 kB / 0.6662 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.1538, allocations: 23.92 kB / 0.6663 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1539, allocations: 15.98 kB / 0.6663 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.393e-05/0.154, allocations: 47.69 kB / 0.6663 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.154, allocations: 0 / 0.6663 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001794/0.1542, allocations: 109.5 kB / 0.6664 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1542, allocations: 8.125 kB / 0.6664 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1542, allocations: 3.938 kB / 0.6664 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1542, allocations: 0 / 0.6664 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.1543, allocations: 27.98 kB / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1543, allocations: 4 kB / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.1543, allocations: 0 / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1543, allocations: 8 kB / 0.6665 GB, free: 11.85 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.273e-05/0.1544, allocations: 156.6 kB / 0.6666 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1544, allocations: 19.83 kB / 0.6667 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1546, allocations: 117.4 kB / 0.6668 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1546, allocations: 4 kB / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1546, allocations: 3.984 kB / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1547, allocations: 0 / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.1547, allocations: 124.6 kB / 0.6669 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1547, allocations: 0 / 0.6669 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.1548, allocations: 27.98 kB / 0.6669 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1548, allocations: 0 / 0.6669 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1549, allocations: 11.94 kB / 0.6669 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1549, allocations: 0 / 0.6669 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1549, allocations: 0 / 0.6669 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1551, allocations: 165.4 kB / 0.6671 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1551, allocations: 7.984 kB / 0.6671 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1551, allocations: 3.984 kB / 0.6671 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.1552, allocations: 23.91 kB / 0.6671 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.1552, allocations: 3.984 kB / 0.6671 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1552, allocations: 8 kB / 0.6671 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.1553, allocations: 127.2 kB / 0.6673 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1553, allocations: 0 / 0.6673 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001279/0.1566, allocations: 0.5621 MB / 0.6678 GB, free: 10.43 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.002403/0.159, allocations: 362.8 kB / 0.6681 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1591, allocations: 67.59 kB / 0.6682 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1591, allocations: 0 / 0.6682 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.1592, allocations: 39.61 kB / 0.6683 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.1594, allocations: 15.98 kB / 0.6683 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.16, allocations: 297.1 kB / 0.6685 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.1601, allocations: 63.34 kB / 0.6686 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.1601, allocations: 24.61 kB / 0.6686 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1602, allocations: 20.48 kB / 0.6687 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.1602, allocations: 0 / 0.6687 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of Templates: time 0.2765/0.4366, allocations: 27.21 MB / 0.6952 GB, free: 61.2 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.253917736001313]