Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008513/0.0008513, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002004, 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.001216/0.001216, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.003102, 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.9706/0.9706, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1111/1.082, 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/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.737/0.737, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2959/1.033, allocations: 49.05 MB / 447.8 MB, free: 6.598 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/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_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.144e-05, allocations: 2.812 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1161/0.1161, allocations: 131.8 MB / 0.5673 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.136, allocations: 22.38 MB / 0.5892 GB, free: 11.05 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1362, allocations: 0 / 0.5892 GB, free: 11.05 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1364, allocations: 43.67 kB / 0.5892 GB, free: 11 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1367, allocations: 99.31 kB / 0.5893 GB, free: 10.91 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.1496, allocations: 6.254 MB / 0.5954 GB, free: 4.629 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.1499, allocations: 259.8 kB / 0.5957 GB, free: 4.371 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.15, allocations: 14.47 kB / 0.5957 GB, free: 4.359 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.1503, allocations: 187.4 kB / 0.5959 GB, free: 4.176 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1504, allocations: 75.83 kB / 0.5959 GB, free: 4.102 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1504, allocations: 15.88 kB / 0.5959 GB, free: 4.086 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/0.1668, allocations: 11.99 MB / 0.6077 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1669, allocations: 27.94 kB / 0.6077 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.167, allocations: 47.94 kB / 0.6077 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.1802, allocations: 6.23 MB / 0.6138 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.1802, allocations: 0 / 0.6138 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1802, allocations: 0 / 0.6138 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.1802, allocations: 0 / 0.6138 GB, free: 1.766 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.003613/0.1838, allocations: 1.644 MB / 0.6154 GB, free: 76 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1838, allocations: 8.031 kB / 0.6154 GB, free: 68 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.1846, allocations: 168.5 kB / 0.6156 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1848, allocations: 165.5 kB / 0.6157 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1848, allocations: 20.31 kB / 0.6158 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1849, allocations: 20.38 kB / 0.6158 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.1855, allocations: 0.5968 MB / 0.6164 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1855, allocations: 3.984 kB / 0.6164 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1856, allocations: 12 kB / 0.6164 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1856, allocations: 4 kB / 0.6164 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.1861, allocations: 403.4 kB / 0.6168 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.1866, allocations: 0.6152 MB / 0.6174 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.187, allocations: 217.6 kB / 0.6176 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.1871, allocations: 40.84 kB / 0.6176 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05335/0.2404, allocations: 24.78 MB / 0.6418 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2405, allocations: 46.5 kB / 0.6419 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.2405, allocations: 0 / 0.6419 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001095/0.2416, allocations: 377.4 kB / 0.6422 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2416, allocations: 59.41 kB / 0.6423 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.2417, allocations: 124 kB / 0.6424 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2417, allocations: 33.7 kB / 0.6424 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2417, allocations: 116.5 kB / 0.6425 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.2418, allocations: 87.2 kB / 0.6426 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.2419, allocations: 65.66 kB / 0.6427 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.242, allocations: 326.8 kB / 0.643 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.2421, allocations: 67.94 kB / 0.6431 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2422, allocations: 111 kB / 0.6432 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2425, allocations: 205.6 kB / 0.6434 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2425, allocations: 0 / 0.6434 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000419/0.2429, allocations: 237.8 kB / 0.6436 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2429, allocations: 4 kB / 0.6436 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2429, allocations: 4 kB / 0.6436 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2429, allocations: 0 / 0.6436 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.2432, allocations: 99.83 kB / 0.6437 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2432, allocations: 4 kB / 0.6437 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.355e-05/0.2433, allocations: 19.83 kB / 0.6437 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.2433, allocations: 19.97 kB / 0.6437 GB, free: 2.793 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 0.0001008/0.2434, allocations: 128.6 kB / 0.6439 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2435, allocations: 39.62 kB / 0.6439 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.2447, allocations: 1.362 MB / 0.6452 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.2448, allocations: 11.98 kB / 0.6452 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2448, allocations: 0 / 0.6452 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.2448, allocations: 3.984 kB / 0.6452 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2463, allocations: 1.741 MB / 0.6469 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.2464, allocations: 3.984 kB / 0.6469 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.2465, allocations: 63.89 kB / 0.647 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.2466, allocations: 51.66 kB / 0.6471 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2466, allocations: 4 kB / 0.6471 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2466, allocations: 8 kB / 0.6471 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2466, allocations: 0 / 0.6471 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2466, allocations: 3.984 kB / 0.6471 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.2471, allocations: 444.3 kB / 0.6475 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.2471, allocations: 8 kB / 0.6475 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2472, allocations: 8 kB / 0.6475 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.2473, allocations: 23.95 kB / 0.6475 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2473, allocations: 11.98 kB / 0.6475 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.2473, allocations: 23.83 kB / 0.6476 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2473, allocations: 4 kB / 0.6476 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003934/0.2512, allocations: 1.719 MB / 0.6493 GB, free: 13.08 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.00744/0.2587, allocations: 2.374 MB / 0.6516 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.2592, allocations: 210.7 kB / 0.6518 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.2592, allocations: 4 kB / 0.6518 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.2594, allocations: 143.3 kB / 0.6519 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.2599, allocations: 197.3 kB / 0.6521 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.2628, allocations: 0.5625 MB / 0.6526 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.347e-05/0.2629, allocations: 102.8 kB / 0.6527 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.2633, allocations: 404.7 kB / 0.6531 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.2635, allocations: 145.2 kB / 0.6533 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.2635, allocations: 0 / 0.6533 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of Templates: time 0.2763/0.5399, allocations: 58.64 MB / 0.7105 GB, free: 53.48 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.791643478907645]