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.0007074/0.0007074, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008227/0.00153, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006481/0.0006481, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008206/0.001469, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09088/1.101, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7732/0.7732, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3096/1.083, allocations: 49.04 MB / 447.6 MB, free: 6.684 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 2.675e-06/2.675e-06, allocations: 3.984 kB / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.935e-05, allocations: 6.922 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.129/0.129, allocations: 131.8 MB / 0.5671 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.1494, allocations: 22.38 MB / 0.5889 GB, free: 11.16 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1495, allocations: 3.938 kB / 0.5889 GB, free: 11.15 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1497, allocations: 43.75 kB / 0.589 GB, free: 11.11 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1499, allocations: 95.28 kB / 0.589 GB, free: 11.02 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.1633, allocations: 6.254 MB / 0.5952 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1637, allocations: 267.7 kB / 0.5954 GB, free: 4.473 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1637, allocations: 6.469 kB / 0.5954 GB, free: 4.469 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1641, allocations: 187.4 kB / 0.5956 GB, free: 4.285 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1642, allocations: 75.77 kB / 0.5957 GB, free: 4.211 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1642, allocations: 12 kB / 0.5957 GB, free: 4.199 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.181, allocations: 12 MB / 0.6074 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1811, allocations: 27.92 kB / 0.6074 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1813, allocations: 51.88 kB / 0.6075 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.1974, allocations: 6.246 MB / 0.6136 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.1974, allocations: 0 / 0.6136 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1974, allocations: 0 / 0.6136 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.1974, allocations: 0 / 0.6136 GB, free: 1.855 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.004072/0.2015, allocations: 1.652 MB / 0.6152 GB, free: 160 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2015, allocations: 8.031 kB / 0.6152 GB, free: 152 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.2025, allocations: 172.3 kB / 0.6154 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2027, allocations: 157.5 kB / 0.6155 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2027, allocations: 12.38 kB / 0.6155 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.2028, allocations: 24.31 kB / 0.6155 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.2036, allocations: 0.6113 MB / 0.6161 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2036, allocations: 4 kB / 0.6161 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.2036, allocations: 8 kB / 0.6162 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2036, allocations: 4 kB / 0.6162 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.2042, allocations: 395.5 kB / 0.6165 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.2049, allocations: 0.6151 MB / 0.6171 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.2054, allocations: 217.6 kB / 0.6173 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.2055, allocations: 40.84 kB / 0.6174 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05316/0.2586, allocations: 24.78 MB / 0.6416 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.2587, allocations: 46.55 kB / 0.6416 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.2587, allocations: 0 / 0.6416 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008764/0.2595, allocations: 385.3 kB / 0.642 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.2596, allocations: 55.41 kB / 0.642 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.2597, allocations: 137.5 kB / 0.6422 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2597, allocations: 33.7 kB / 0.6422 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.2597, allocations: 108.5 kB / 0.6423 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.2598, allocations: 95.19 kB / 0.6424 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.2599, allocations: 65.64 kB / 0.6425 GB, free: 4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.26, allocations: 326.8 kB / 0.6428 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.26, allocations: 63.95 kB / 0.6428 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2601, allocations: 107.1 kB / 0.6429 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2603, allocations: 197.6 kB / 0.6431 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2603, allocations: 0 / 0.6431 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003127/0.2606, allocations: 233.8 kB / 0.6433 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2607, allocations: 12.03 kB / 0.6434 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2607, allocations: 0 / 0.6434 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2607, allocations: 4 kB / 0.6434 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2609, allocations: 99.83 kB / 0.6435 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.2609, allocations: 0 / 0.6435 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.2609, allocations: 23.83 kB / 0.6435 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.261, allocations: 15.92 kB / 0.6435 GB, free: 2.891 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 9.086e-05/0.2611, allocations: 128.6 kB / 0.6436 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2612, allocations: 47.62 kB / 0.6437 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.2622, allocations: 1.362 MB / 0.645 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2622, allocations: 15.98 kB / 0.645 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2622, allocations: 0 / 0.645 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2622, allocations: 3.984 kB / 0.645 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.2638, allocations: 1.741 MB / 0.6467 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2638, allocations: 0 / 0.6467 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2639, allocations: 63.89 kB / 0.6468 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.264, allocations: 55.66 kB / 0.6468 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.264, allocations: 7.938 kB / 0.6468 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.264, allocations: 4 kB / 0.6468 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.264, allocations: 4 kB / 0.6468 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.264, allocations: 0 / 0.6468 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.2644, allocations: 444.3 kB / 0.6473 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2644, allocations: 8 kB / 0.6473 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.2645, allocations: 8 kB / 0.6473 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2645, allocations: 15.97 kB / 0.6473 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2645, allocations: 7.984 kB / 0.6473 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2645, allocations: 28.83 kB / 0.6473 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.2645, allocations: 0 / 0.6473 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003691/0.2682, allocations: 1.719 MB / 0.649 GB, free: 13.18 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.005979/0.2742, allocations: 2.381 MB / 0.6513 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.2746, allocations: 205.9 kB / 0.6515 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/0.2746, allocations: 4 kB / 0.6515 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2748, allocations: 122.7 kB / 0.6517 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2752, allocations: 116.1 kB / 0.6518 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.2781, allocations: 0.5663 MB / 0.6523 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.2782, allocations: 98.83 kB / 0.6524 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003982/0.2786, allocations: 404.7 kB / 0.6528 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.2789, allocations: 149.2 kB / 0.6529 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of SimCode: time 1.954e-06/0.2789, allocations: 0 / 0.6529 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of Templates: time 0.309/0.5879, allocations: 68.96 MB / 0.7203 GB, free: 48.61 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: 7.033773444592953]