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.001085/0.001085, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.002943, allocations: 440 kB / 10.41 MB, free: 284 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.001124/0.001124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002726, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.987/0.987, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09258/1.08, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.7557/0.7557, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.2884/1.044, allocations: 49.14 MB / 448.6 MB, free: 5.887 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.162e-06/1.162e-06, allocations: 0 / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.928e-05, allocations: 6.641 kB / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1166/0.1166, allocations: 131.8 MB / 0.5681 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.136, allocations: 22.38 MB / 0.59 GB, free: 10.32 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1362, allocations: 4 kB / 0.59 GB, free: 10.32 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1363, allocations: 35.75 kB / 0.59 GB, free: 10.29 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1365, allocations: 107.3 kB / 0.5901 GB, free: 10.18 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.1489, allocations: 6.251 MB / 0.5962 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.1492, allocations: 255.8 kB / 0.5965 GB, free: 3.656 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1492, allocations: 18.44 kB / 0.5965 GB, free: 3.641 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.1495, allocations: 183.4 kB / 0.5967 GB, free: 3.461 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1497, allocations: 79.78 kB / 0.5967 GB, free: 3.383 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1497, allocations: 8 kB / 0.5967 GB, free: 3.375 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.1659, allocations: 11.99 MB / 0.6084 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1661, allocations: 27.94 kB / 0.6085 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1662, allocations: 51.88 kB / 0.6085 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.1794, allocations: 6.219 MB / 0.6146 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.1794, allocations: 0 / 0.6146 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1794, allocations: 0 / 0.6146 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1794, allocations: 8 kB / 0.6146 GB, free: 1.055 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.003502/0.1829, allocations: 1.652 MB / 0.6162 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1829, allocations: 12.03 kB / 0.6162 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.1836, allocations: 160.3 kB / 0.6164 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1838, allocations: 165.5 kB / 0.6165 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1838, allocations: 8.375 kB / 0.6165 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1839, allocations: 24.38 kB / 0.6166 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.1845, allocations: 0.5929 MB / 0.6171 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1845, allocations: 4 kB / 0.6172 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1846, allocations: 12 kB / 0.6172 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1846, allocations: 7.938 kB / 0.6172 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.1851, allocations: 402.2 kB / 0.6176 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.1856, allocations: 0.6113 MB / 0.6182 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.186, allocations: 226.2 kB / 0.6184 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.1861, allocations: 40.83 kB / 0.6184 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0417/0.2278, allocations: 24.79 MB / 0.6426 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2278, allocations: 34.56 kB / 0.6426 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/0.2278, allocations: 4 kB / 0.6426 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008556/0.2287, allocations: 380.9 kB / 0.643 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2287, allocations: 55.41 kB / 0.6431 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.2288, allocations: 127.9 kB / 0.6432 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2288, allocations: 29.7 kB / 0.6432 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.2288, allocations: 124.5 kB / 0.6433 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2289, allocations: 91.19 kB / 0.6434 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.2289, allocations: 61.66 kB / 0.6435 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.229, allocations: 322.8 kB / 0.6438 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.2291, allocations: 67.88 kB / 0.6439 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.2292, allocations: 114.3 kB / 0.644 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.2294, allocations: 195.6 kB / 0.6441 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2294, allocations: 4 kB / 0.6442 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003013/0.2297, allocations: 240.3 kB / 0.6444 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2297, allocations: 4 kB / 0.6444 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2297, allocations: 0 / 0.6444 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2297, allocations: 7.938 kB / 0.6444 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.2299, allocations: 99.83 kB / 0.6445 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2299, allocations: 3.984 kB / 0.6445 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.23, allocations: 19.89 kB / 0.6445 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.23, allocations: 16.14 kB / 0.6445 GB, free: 2.078 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.257e-05/0.2301, allocations: 128.6 kB / 0.6446 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2302, allocations: 47.62 kB / 0.6447 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008816/0.2311, allocations: 1.358 MB / 0.646 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.2311, allocations: 11.98 kB / 0.646 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.2311, allocations: 3.938 kB / 0.646 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2311, allocations: 3.984 kB / 0.646 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2323, allocations: 1.737 MB / 0.6477 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2323, allocations: 0 / 0.6477 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2324, allocations: 67.88 kB / 0.6478 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.2325, allocations: 51.66 kB / 0.6478 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2325, allocations: 0 / 0.6478 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2325, allocations: 8 kB / 0.6479 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2325, allocations: 0 / 0.6479 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2325, allocations: 0 / 0.6479 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.2328, allocations: 444.3 kB / 0.6483 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.2328, allocations: 8 kB / 0.6483 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.2329, allocations: 12 kB / 0.6483 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2329, allocations: 15.97 kB / 0.6483 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2329, allocations: 15.98 kB / 0.6483 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.141e-05/0.233, allocations: 20.11 kB / 0.6484 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.233, allocations: 0 / 0.6484 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003344/0.2363, allocations: 1.723 MB / 0.65 GB, free: 12.38 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.005461/0.2418, allocations: 2.388 MB / 0.6524 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.2421, allocations: 213.7 kB / 0.6526 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.2421, allocations: 4.469 kB / 0.6526 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2422, allocations: 136.2 kB / 0.6527 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2426, allocations: 204.9 kB / 0.6529 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.2455, allocations: 0.5586 MB / 0.6534 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.2455, allocations: 110.6 kB / 0.6535 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003604/0.2459, allocations: 400.8 kB / 0.6539 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.2462, allocations: 145.2 kB / 0.6541 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.2462, allocations: 0 / 0.6541 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.2625/0.5086, allocations: 58.64 MB / 0.7113 GB, free: 52.51 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: 5.827583585865796]