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.000902/0.000902, allocations: 81.95 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.001005/0.001005, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9858/0.9858, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7683/0.7683, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.493e-06/1.493e-06, allocations: 0 / 0.5207 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.781e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002829/0.002847, allocations: 1.303 MB / 0.522 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.122/0.1248, allocations: 130.9 MB / 0.6498 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.1249, allocations: 0 / 0.6498 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.1249, allocations: 3.938 kB / 0.6498 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.1249, allocations: 3.938 kB / 0.6498 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.1259, allocations: 470.2 kB / 0.6502 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.126, allocations: 43.83 kB / 0.6503 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.126, allocations: 11.92 kB / 0.6503 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.1261, allocations: 31.91 kB / 0.6503 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.1262, allocations: 11.98 kB / 0.6503 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1262, allocations: 0 / 0.6503 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.1271, allocations: 0.8035 MB / 0.6511 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1271, allocations: 7.984 kB / 0.6511 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1271, allocations: 23.91 kB / 0.6511 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.1276, allocations: 0.5535 MB / 0.6517 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1276, allocations: 0 / 0.6517 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1276, allocations: 4 kB / 0.6517 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1276, allocations: 0 / 0.6517 GB, free: 11.52 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.0003826/0.128, allocations: 392.1 kB / 0.6521 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1281, allocations: 12.03 kB / 0.6521 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1282, allocations: 33.08 kB / 0.6521 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.308e-05/0.1283, allocations: 108.6 kB / 0.6522 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1283, allocations: 4.312 kB / 0.6522 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1283, allocations: 12.38 kB / 0.6522 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1284, allocations: 119.3 kB / 0.6523 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1285, allocations: 3.938 kB / 0.6523 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1285, allocations: 4 kB / 0.6523 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1285, allocations: 4 kB / 0.6524 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.1285, allocations: 19.92 kB / 0.6524 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.1286, allocations: 101.2 kB / 0.6525 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.1287, allocations: 59.09 kB / 0.6525 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.1287, allocations: 15.69 kB / 0.6525 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004609/0.1333, allocations: 2.466 MB / 0.6549 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1333, allocations: 41.33 kB / 0.655 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1333, allocations: 0 / 0.655 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0151/0.1484, allocations: 6.332 MB / 0.6612 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1485, allocations: 55.41 kB / 0.6612 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.1485, allocations: 149.9 kB / 0.6614 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1486, allocations: 29.7 kB / 0.6614 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1486, allocations: 131 kB / 0.6615 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1486, allocations: 47.62 kB / 0.6616 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1487, allocations: 35.36 kB / 0.6616 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1488, allocations: 0.4884 MB / 0.6621 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.1488, allocations: 15.92 kB / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.1488, allocations: 11.98 kB / 0.6621 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.1489, allocations: 43.67 kB / 0.6621 GB, free: 496 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1489, allocations: 0 / 0.6621 GB, free: 496 kB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001248/0.149, allocations: 101.6 kB / 0.6622 GB, free: 388 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.149, allocations: 7.938 kB / 0.6622 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.149, allocations: 0 / 0.6622 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1491, allocations: 8 kB / 0.6623 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.1491, allocations: 23.92 kB / 0.6623 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.1491, allocations: 4 kB / 0.6623 GB, free: 344 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.1491, allocations: 4 kB / 0.6623 GB, free: 340 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1491, allocations: 4 kB / 0.6623 GB, free: 336 kB / 0.6198 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.021e-05/0.1492, allocations: 156.6 kB / 0.6624 GB, free: 168 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.1493, allocations: 15.89 kB / 0.6625 GB, free: 152 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.1494, allocations: 125.3 kB / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1494, allocations: 0 / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1494, allocations: 0 / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1494, allocations: 3.984 kB / 0.6626 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.1495, allocations: 109.2 kB / 0.6627 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1495, allocations: 0 / 0.6627 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.1496, allocations: 23.98 kB / 0.6627 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1496, allocations: 4 kB / 0.6627 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1496, allocations: 4 kB / 0.6627 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1496, allocations: 0 / 0.6627 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1496, allocations: 11.94 kB / 0.6627 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1498, allocations: 151.2 kB / 0.6629 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1498, allocations: 7.984 kB / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1498, allocations: 0 / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.1499, allocations: 15.98 kB / 0.6629 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1499, allocations: 7.922 kB / 0.6629 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.1499, allocations: 8 kB / 0.6629 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.1499, allocations: 123.2 kB / 0.663 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1499, allocations: 0 / 0.663 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001154/0.1511, allocations: 0.5622 MB / 0.6636 GB, free: 14.95 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.001751/0.1528, allocations: 378.8 kB / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1529, allocations: 68.94 kB / 0.664 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1529, allocations: 0 / 0.664 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.153, allocations: 35.61 kB / 0.664 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1531, allocations: 19.97 kB / 0.6641 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.1536, allocations: 293.2 kB / 0.6643 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.1537, allocations: 63.34 kB / 0.6644 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.406e-05/0.1537, allocations: 20.61 kB / 0.6644 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.1538, allocations: 102.2 kB / 0.6645 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.1538, allocations: 0 / 0.6645 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.3811/0.5349, allocations: 27 MB / 0.6909 GB, free: 59.32 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.66006990429014]