Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.0006148/0.0006148, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008128/0.001428, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006587/0.0006587, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001521, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.02/1.02, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09264/1.113, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7585/0.7585, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.289/1.048, allocations: 49.14 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.953e-05, allocations: 8.875 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1455/0.1455, allocations: 131.8 MB / 0.5678 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.166, allocations: 22.38 MB / 0.5897 GB, free: 10.5 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1662, allocations: 8 kB / 0.5897 GB, free: 10.5 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1664, allocations: 43.62 kB / 0.5897 GB, free: 10.45 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1667, allocations: 99.3 kB / 0.5898 GB, free: 10.36 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01333/0.18, allocations: 6.258 MB / 0.5959 GB, free: 4.074 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.1804, allocations: 259.8 kB / 0.5962 GB, free: 3.82 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1804, allocations: 10.41 kB / 0.5962 GB, free: 3.812 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.1808, allocations: 179.4 kB / 0.5964 GB, free: 3.637 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1809, allocations: 79.77 kB / 0.5965 GB, free: 3.559 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1809, allocations: 12 kB / 0.5965 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/0.1973, allocations: 11.99 MB / 0.6082 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.1974, allocations: 27.88 kB / 0.6082 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1975, allocations: 51.88 kB / 0.6082 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.2109, allocations: 6.254 MB / 0.6144 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.634e-05/0.2109, allocations: 3.984 kB / 0.6144 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2109, allocations: 0 / 0.6144 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.2109, allocations: 0 / 0.6144 GB, free: 1.199 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003196/0.2141, allocations: 1.652 MB / 0.616 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2142, allocations: 8.031 kB / 0.616 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/0.2148, allocations: 160.3 kB / 0.6161 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.215, allocations: 169.5 kB / 0.6163 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.215, allocations: 8.375 kB / 0.6163 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.2151, allocations: 20.38 kB / 0.6163 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.2157, allocations: 0.6048 MB / 0.6169 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2157, allocations: 0 / 0.6169 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2158, allocations: 4 kB / 0.6169 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2158, allocations: 4 kB / 0.6169 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2163, allocations: 402.2 kB / 0.6173 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.2169, allocations: 0.6074 MB / 0.6179 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.2173, allocations: 234.2 kB / 0.6181 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.2173, allocations: 44.77 kB / 0.6182 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04264/0.2599, allocations: 24.77 MB / 0.6424 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.26, allocations: 38.56 kB / 0.6424 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.26, allocations: 3.938 kB / 0.6424 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.000857/0.2608, allocations: 388.9 kB / 0.6428 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2609, allocations: 59.34 kB / 0.6428 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.2609, allocations: 125.6 kB / 0.6429 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.261, allocations: 29.7 kB / 0.643 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.261, allocations: 120.5 kB / 0.6431 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.2611, allocations: 95.19 kB / 0.6432 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2611, allocations: 61.66 kB / 0.6432 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.2612, allocations: 322.8 kB / 0.6435 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.2613, allocations: 63.94 kB / 0.6436 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2614, allocations: 114.3 kB / 0.6437 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2616, allocations: 195.6 kB / 0.6439 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2616, allocations: 4 kB / 0.6439 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002947/0.2619, allocations: 236.3 kB / 0.6441 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2619, allocations: 4 kB / 0.6441 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2619, allocations: 3.984 kB / 0.6441 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2619, allocations: 4 kB / 0.6441 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2621, allocations: 99.98 kB / 0.6442 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.2621, allocations: 7.984 kB / 0.6442 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.2622, allocations: 19.89 kB / 0.6443 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2622, allocations: 11.98 kB / 0.6443 GB, free: 2.238 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 8.062e-05/0.2623, allocations: 124.6 kB / 0.6444 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2624, allocations: 51.61 kB / 0.6444 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.2633, allocations: 1.362 MB / 0.6458 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2633, allocations: 11.98 kB / 0.6458 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2633, allocations: 0 / 0.6458 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2633, allocations: 7.984 kB / 0.6458 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2647, allocations: 1.741 MB / 0.6475 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.2647, allocations: 0 / 0.6475 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.2648, allocations: 67.94 kB / 0.6476 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.2649, allocations: 51.66 kB / 0.6476 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2649, allocations: 0 / 0.6476 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2649, allocations: 8 kB / 0.6476 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2649, allocations: 0 / 0.6476 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2649, allocations: 3.938 kB / 0.6476 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2653, allocations: 440.3 kB / 0.648 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2653, allocations: 15.92 kB / 0.6481 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.2654, allocations: 8 kB / 0.6481 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2654, allocations: 11.97 kB / 0.6481 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.2654, allocations: 15.98 kB / 0.6481 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.2654, allocations: 12.86 kB / 0.6481 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.2654, allocations: 0 / 0.6481 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003831/0.2692, allocations: 1.727 MB / 0.6498 GB, free: 12.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005913/0.2752, allocations: 2.385 MB / 0.6521 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2755, allocations: 222.5 kB / 0.6523 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.2755, allocations: 0 / 0.6523 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2756, allocations: 123.4 kB / 0.6524 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.276, allocations: 112 kB / 0.6526 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.2789, allocations: 0.5712 MB / 0.6531 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.819e-05/0.2789, allocations: 102.7 kB / 0.6532 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.2793, allocations: 396.8 kB / 0.6536 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.2795, allocations: 149.2 kB / 0.6537 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.2795, allocations: 0 / 0.6537 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of Templates: time 0.302/0.5815, allocations: 68.95 MB / 0.7211 GB, free: 47.79 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5028517777100205]