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.001064/0.001064, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001177/0.001177, allocations: 170 kB / 23.28 MB, free: 1.219 MB / 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.026/1.026, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.767/0.767, allocations: 154.9 MB / 415.1 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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 2.044e-06/2.044e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.986e-05, allocations: 3.156 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1149/0.1149, allocations: 129.4 MB / 0.6475 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0225/0.1374, allocations: 21.98 MB / 0.6689 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.1376, allocations: 0 / 0.6689 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.138, allocations: 47.67 kB / 0.669 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.1384, allocations: 99.3 kB / 0.6691 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01508/0.1534, allocations: 7.008 MB / 0.6759 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1538, allocations: 255.7 kB / 0.6762 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1538, allocations: 9.812 kB / 0.6762 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.1542, allocations: 179.4 kB / 0.6763 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1543, allocations: 83.77 kB / 0.6764 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1543, allocations: 8 kB / 0.6764 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3218/0.4762, allocations: 11.13 MB / 0.6873 GB, free: 52.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4763, allocations: 39.91 kB / 0.6873 GB, free: 52.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.4764, allocations: 63.92 kB / 0.6874 GB, free: 52.19 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.4953, allocations: 8.362 MB / 0.6956 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4953, allocations: 0 / 0.6956 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4953, allocations: 1.094 kB / 0.6956 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4953, allocations: 0 / 0.6956 GB, free: 52.06 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.003841/0.4991, allocations: 1.266 MB / 0.6968 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4992, allocations: 11.84 kB / 0.6968 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/0.4998, allocations: 149.2 kB / 0.697 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.5, allocations: 176 kB / 0.6971 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5, allocations: 16.62 kB / 0.6971 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.5, allocations: 15.25 kB / 0.6972 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.5007, allocations: 0.597 MB / 0.6977 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5007, allocations: 3.938 kB / 0.6977 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.5007, allocations: 9.688 kB / 0.6977 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5007, allocations: 5.781 kB / 0.6978 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.5012, allocations: 422.9 kB / 0.6982 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.5018, allocations: 0.8418 MB / 0.699 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.5022, allocations: 257.9 kB / 0.6992 GB, free: 50.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.5023, allocations: 48.52 kB / 0.6993 GB, free: 50.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04017/0.5424, allocations: 19.41 MB / 0.7182 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5425, allocations: 47.92 kB / 0.7183 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.5425, allocations: 0 / 0.7183 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.00102/0.5435, allocations: 435.3 kB / 0.7187 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.5435, allocations: 57.53 kB / 0.7187 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.5436, allocations: 186.1 kB / 0.7189 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.5436, allocations: 36.33 kB / 0.719 GB, free: 48.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.5437, allocations: 163.9 kB / 0.7191 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.5437, allocations: 94.28 kB / 0.7192 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.5438, allocations: 79.66 kB / 0.7193 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.5439, allocations: 0.4949 MB / 0.7198 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.5439, allocations: 73.55 kB / 0.7198 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.5441, allocations: 150.9 kB / 0.72 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.5443, allocations: 225 kB / 0.7202 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5443, allocations: 3.047 kB / 0.7202 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004359/0.5447, allocations: 320.8 kB / 0.7205 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5447, allocations: 5.469 kB / 0.7205 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5448, allocations: 5.938 kB / 0.7205 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5448, allocations: 6.438 kB / 0.7205 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5449, allocations: 79.56 kB / 0.7206 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5449, allocations: 3.719 kB / 0.7206 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.545, allocations: 24.62 kB / 0.7206 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.545, allocations: 24.62 kB / 0.7206 GB, free: 47.33 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 8.294e-05/0.5451, allocations: 167.7 kB / 0.7208 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5452, allocations: 46.16 kB / 0.7208 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009119/0.5461, allocations: 1.362 MB / 0.7222 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5461, allocations: 14.58 kB / 0.7222 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.5461, allocations: 0 / 0.7222 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5461, allocations: 4.578 kB / 0.7222 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.5474, allocations: 1.976 MB / 0.7241 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5474, allocations: 0 / 0.7241 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5475, allocations: 56.47 kB / 0.7242 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5475, allocations: 0 / 0.7242 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.5476, allocations: 9.375 kB / 0.7242 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5476, allocations: 2.906 kB / 0.7242 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5476, allocations: 0 / 0.7242 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.5479, allocations: 498 kB / 0.7247 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.548, allocations: 64.44 kB / 0.7247 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.548, allocations: 15.12 kB / 0.7247 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.5481, allocations: 9.406 kB / 0.7248 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.5481, allocations: 22.97 kB / 0.7248 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5481, allocations: 10.16 kB / 0.7248 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.5482, allocations: 138.8 kB / 0.7249 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5482, allocations: 0 / 0.7249 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005198/0.5534, allocations: 1.722 MB / 0.7266 GB, free: 45.89 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.008852/0.5622, allocations: 2.254 MB / 0.7288 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.5627, allocations: 245.1 kB / 0.729 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5627, allocations: 7.688 kB / 0.729 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.5629, allocations: 140.5 kB / 0.7292 GB, free: 45.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.5634, allocations: 96.22 kB / 0.7293 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.5642, allocations: 0.5443 MB / 0.7298 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.5643, allocations: 100.6 kB / 0.7299 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000317/0.5646, allocations: 402.1 kB / 0.7303 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.5648, allocations: 192.8 kB / 0.7305 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.5648, allocations: 4 kB / 0.7305 GB, free: 45 MB / 0.6355 GB Notification: Performance of Templates: time 0.06661/0.6314, allocations: 70.3 MB / 0.7991 GB, free: 13.92 MB / 0.6511 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.4407064649276435]