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.0009446/0.0009446, 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.001168/0.001168, allocations: 173 kB / 23.03 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 1.029/1.029, allocations: 177.2 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.7996/0.7996, allocations: 154.9 MB / 414.8 MB, free: 420 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.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.906e-05, allocations: 4.906 kB / 0.5206 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002735/0.002764, allocations: 1.299 MB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.1401, allocations: 133.4 MB / 0.6522 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1402, allocations: 0 / 0.6522 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1402, allocations: 0 / 0.6522 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.1402, allocations: 11.94 kB / 0.6522 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1413, allocations: 478 kB / 0.6526 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.1414, allocations: 43.83 kB / 0.6527 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1415, allocations: 0 / 0.6527 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.1415, allocations: 23.97 kB / 0.6527 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.1416, allocations: 23.95 kB / 0.6527 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1416, allocations: 8 kB / 0.6527 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1429, allocations: 0.7957 MB / 0.6535 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.1429, allocations: 7.938 kB / 0.6535 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1429, allocations: 19.97 kB / 0.6535 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1435, allocations: 0.5574 MB / 0.6541 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1435, allocations: 0 / 0.6541 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1435, allocations: 3.938 kB / 0.6541 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1435, allocations: 0 / 0.6541 GB, free: 8.934 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.0004294/0.1439, allocations: 396.1 kB / 0.6544 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.144, allocations: 8.031 kB / 0.6545 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1441, allocations: 29.09 kB / 0.6545 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.942e-05/0.1442, allocations: 104.6 kB / 0.6546 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1442, allocations: 8.375 kB / 0.6546 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1442, allocations: 8.375 kB / 0.6546 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1444, allocations: 135.3 kB / 0.6547 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1444, allocations: 3.938 kB / 0.6547 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1444, allocations: 0 / 0.6547 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1444, allocations: 0 / 0.6547 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.1445, allocations: 19.98 kB / 0.6547 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1446, allocations: 116.6 kB / 0.6549 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.1447, allocations: 55.05 kB / 0.6549 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.1447, allocations: 19.67 kB / 0.6549 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005339/0.15, allocations: 2.895 MB / 0.6578 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1501, allocations: 37.39 kB / 0.6578 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1501, allocations: 0 / 0.6578 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01867/0.1687, allocations: 8.102 MB / 0.6657 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1688, allocations: 67.34 kB / 0.6658 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.1688, allocations: 149.9 kB / 0.6659 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1689, allocations: 25.7 kB / 0.6659 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.1689, allocations: 134.9 kB / 0.6661 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1689, allocations: 35.69 kB / 0.6661 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.169, allocations: 35.36 kB / 0.6661 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1691, allocations: 0.4884 MB / 0.6666 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.1691, allocations: 15.98 kB / 0.6666 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.1691, allocations: 19.98 kB / 0.6666 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.1692, allocations: 43.69 kB / 0.6667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1692, allocations: 4.062 kB / 0.6667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001514/0.1694, allocations: 117.5 kB / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1694, allocations: 9.656 kB / 0.6668 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1694, allocations: 0 / 0.6668 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1694, allocations: 0 / 0.6668 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.1695, allocations: 23.98 kB / 0.6668 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1695, allocations: 0 / 0.6668 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1695, allocations: 8 kB / 0.6668 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1695, allocations: 4 kB / 0.6668 GB, free: 11.5 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.999e-05/0.1696, allocations: 156.6 kB / 0.667 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1697, allocations: 27.83 kB / 0.667 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1698, allocations: 109.5 kB / 0.6671 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1698, allocations: 4 kB / 0.6671 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1698, allocations: 0 / 0.6671 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1698, allocations: 0 / 0.6671 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.1702, allocations: 128.6 kB / 0.6673 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1702, allocations: 0 / 0.6673 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.1703, allocations: 27.92 kB / 0.6673 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1703, allocations: 4 kB / 0.6673 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1703, allocations: 11.94 kB / 0.6673 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1703, allocations: 0 / 0.6673 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1703, allocations: 0 / 0.6673 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1705, allocations: 155.3 kB / 0.6674 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.1705, allocations: 11.98 kB / 0.6675 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1705, allocations: 3.938 kB / 0.6675 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.1706, allocations: 7.984 kB / 0.6675 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.1706, allocations: 8 kB / 0.6675 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1706, allocations: 12.03 kB / 0.6675 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.1707, allocations: 123.2 kB / 0.6676 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1707, allocations: 0 / 0.6676 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001349/0.172, allocations: 0.5621 MB / 0.6681 GB, free: 10.09 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.002108/0.1741, allocations: 378.8 kB / 0.6685 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1743, allocations: 66.22 kB / 0.6686 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1743, allocations: 0 / 0.6686 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.1743, allocations: 39.61 kB / 0.6686 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.1745, allocations: 27.97 kB / 0.6686 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1751, allocations: 277.2 kB / 0.6689 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.1751, allocations: 71.19 kB / 0.669 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1752, allocations: 24.61 kB / 0.669 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.1752, allocations: 20.44 kB / 0.669 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.1752, allocations: 4 kB / 0.669 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.3417/0.5169, allocations: 27.22 MB / 0.6956 GB, free: 58.76 MB / 0.6355 GB " [Timeout remaining time 659] 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: 8.6554936170578]