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.001195/0.001195, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 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.001057/0.001057, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.102/1.102, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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.7881/0.7881, allocations: 154.6 MB / 415.6 MB, free: 0.5 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. " [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.114e-06/2.114e-06, allocations: 4 kB / 0.5215 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.359e-05, allocations: 4.562 kB / 0.5215 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1292/0.1292, allocations: 129.4 MB / 0.6479 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.1493, allocations: 21.99 MB / 0.6693 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1495, allocations: 0 / 0.6693 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1498, allocations: 43.69 kB / 0.6694 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1501, allocations: 99.3 kB / 0.6695 GB, free: 10 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01584/0.1659, allocations: 7.006 MB / 0.6763 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.1663, allocations: 259.8 kB / 0.6766 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1663, allocations: 9.812 kB / 0.6766 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.1667, allocations: 183.4 kB / 0.6768 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1668, allocations: 75.78 kB / 0.6768 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1668, allocations: 8 kB / 0.6768 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3197/0.4865, allocations: 11.13 MB / 0.6877 GB, free: 52.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.4866, allocations: 44.78 kB / 0.6877 GB, free: 52.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.4867, allocations: 57.89 kB / 0.6878 GB, free: 52.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.4971, allocations: 8.365 MB / 0.696 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4971, allocations: 1.203 kB / 0.696 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4971, allocations: 0 / 0.696 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.4971, allocations: 0 / 0.696 GB, free: 52.47 MB / 0.6355 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.002306/0.4994, allocations: 1.263 MB / 0.6972 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.4995, allocations: 11.97 kB / 0.6972 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.5001, allocations: 148 kB / 0.6974 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.5003, allocations: 179.2 kB / 0.6975 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5003, allocations: 9.875 kB / 0.6975 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.5003, allocations: 19.91 kB / 0.6976 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.501, allocations: 0.5967 MB / 0.6981 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.501, allocations: 5.375 kB / 0.6981 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.501, allocations: 9.781 kB / 0.6982 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.501, allocations: 2.906 kB / 0.6982 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.5015, allocations: 424.5 kB / 0.6986 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.5021, allocations: 0.8519 MB / 0.6994 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.5025, allocations: 243.7 kB / 0.6996 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.5026, allocations: 57.36 kB / 0.6997 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03762/0.5402, allocations: 19.32 MB / 0.7185 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5402, allocations: 43.42 kB / 0.7186 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.5402, allocations: 0 / 0.7186 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0009331/0.5412, allocations: 437.8 kB / 0.719 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.5412, allocations: 58.58 kB / 0.7191 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.5412, allocations: 183.1 kB / 0.7192 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5413, allocations: 32.2 kB / 0.7193 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.5413, allocations: 168.2 kB / 0.7194 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.5414, allocations: 91.61 kB / 0.7195 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.5414, allocations: 83.97 kB / 0.7196 GB, free: 48.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.5415, allocations: 0.503 MB / 0.7201 GB, free: 48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.5416, allocations: 74.33 kB / 0.7202 GB, free: 48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.5417, allocations: 138.3 kB / 0.7203 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.5419, allocations: 232.7 kB / 0.7205 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5419, allocations: 0 / 0.7205 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000429/0.5423, allocations: 329.6 kB / 0.7208 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5424, allocations: 5.719 kB / 0.7208 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5424, allocations: 0 / 0.7208 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.5424, allocations: 5.531 kB / 0.7208 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5426, allocations: 77.14 kB / 0.7209 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5426, allocations: 5.625 kB / 0.7209 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.5426, allocations: 23.88 kB / 0.7209 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5427, allocations: 21.38 kB / 0.721 GB, free: 47.78 MB / 0.6355 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 7.872e-05/0.5427, allocations: 171.7 kB / 0.7211 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5428, allocations: 48.75 kB / 0.7212 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.5437, allocations: 1.362 MB / 0.7225 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5437, allocations: 14.34 kB / 0.7225 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.5437, allocations: 3.094 kB / 0.7225 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5437, allocations: 3.094 kB / 0.7225 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.545, allocations: 1.967 MB / 0.7244 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.545, allocations: 3.031 kB / 0.7244 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5451, allocations: 55.31 kB / 0.7245 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5451, allocations: 5.828 kB / 0.7245 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5451, allocations: 6.312 kB / 0.7245 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5451, allocations: 6.594 kB / 0.7245 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5451, allocations: 1.203 kB / 0.7245 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5455, allocations: 0.5006 MB / 0.725 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.5456, allocations: 55.69 kB / 0.7251 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.5456, allocations: 3.188 kB / 0.7251 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.5457, allocations: 11.47 kB / 0.7251 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.5457, allocations: 16.98 kB / 0.7251 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.5457, allocations: 15.34 kB / 0.7251 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.5457, allocations: 134.3 kB / 0.7252 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5457, allocations: 0 / 0.7252 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003763/0.5495, allocations: 1.726 MB / 0.7269 GB, free: 46.35 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.004446/0.5539, allocations: 2.253 MB / 0.7291 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.5542, allocations: 239.6 kB / 0.7293 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5542, allocations: 3.625 kB / 0.7293 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.5543, allocations: 140.5 kB / 0.7295 GB, free: 45.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5547, allocations: 99.94 kB / 0.7296 GB, free: 45.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.5554, allocations: 0.5531 MB / 0.7301 GB, free: 45.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.5554, allocations: 104.4 kB / 0.7302 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.5557, allocations: 403.5 kB / 0.7306 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.5559, allocations: 193.9 kB / 0.7308 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.5559, allocations: 0 / 0.7308 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.0526/0.6085, allocations: 70.37 MB / 0.7995 GB, free: 14.62 MB / 0.6511 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: 9.183421783149242]