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.001939/0.001939, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002166/0.002166, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.344/1.344, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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 1.593e-06/1.593e-06, allocations: 0 / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.385e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1935/0.1935, allocations: 131.6 MB / 0.6483 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03544/0.2289, allocations: 22.27 MB / 0.6701 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.2292, allocations: 0 / 0.6701 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.2295, allocations: 55.61 kB / 0.6701 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.2299, allocations: 91.36 kB / 0.6702 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.02152/0.2514, allocations: 6.993 MB / 0.677 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.252, allocations: 259.8 kB / 0.6773 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.252, allocations: 13.81 kB / 0.6773 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.2525, allocations: 183.3 kB / 0.6775 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.2526, allocations: 79.75 kB / 0.6775 GB, free: 440 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.2527, allocations: 8 kB / 0.6776 GB, free: 432 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4185/0.6712, allocations: 11.12 MB / 0.6884 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.6713, allocations: 40.06 kB / 0.6885 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.6715, allocations: 63.75 kB / 0.6885 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.6914, allocations: 8.375 MB / 0.6967 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6914, allocations: 4.141 kB / 0.6967 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6914, allocations: 0 / 0.6967 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6914, allocations: 0 / 0.6967 GB, free: 50.88 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.004653/0.6961, allocations: 1.273 MB / 0.6979 GB, free: 50.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.6961, allocations: 10.22 kB / 0.6979 GB, free: 50.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.6974, allocations: 146 kB / 0.6981 GB, free: 50.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.6976, allocations: 177.7 kB / 0.6983 GB, free: 49.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6977, allocations: 19.09 kB / 0.6983 GB, free: 49.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.6977, allocations: 15.22 kB / 0.6983 GB, free: 49.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6988, allocations: 0.591 MB / 0.6989 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6988, allocations: 8.375 kB / 0.6989 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.6988, allocations: 3.375 kB / 0.6989 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.6988, allocations: 5.828 kB / 0.6989 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.7, allocations: 0.5052 MB / 0.6994 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.7012, allocations: 0.8879 MB / 0.7002 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.7022, allocations: 254.1 kB / 0.7005 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.7023, allocations: 65.48 kB / 0.7005 GB, free: 48.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08678/0.7891, allocations: 23.53 MB / 0.7235 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.7891, allocations: 46.83 kB / 0.7236 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.7891, allocations: 1.203 kB / 0.7236 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001821/0.7909, allocations: 474.9 kB / 0.724 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.791, allocations: 55.23 kB / 0.7241 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.7911, allocations: 183.9 kB / 0.7243 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.7911, allocations: 32.33 kB / 0.7243 GB, free: 46.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.7912, allocations: 165.2 kB / 0.7244 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.7912, allocations: 91.12 kB / 0.7245 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.7913, allocations: 85.62 kB / 0.7246 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7914, allocations: 0.4954 MB / 0.7251 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.7916, allocations: 90.12 kB / 0.7252 GB, free: 46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.7918, allocations: 152.5 kB / 0.7253 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.7923, allocations: 252.7 kB / 0.7256 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7923, allocations: 0 / 0.7256 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007943/0.7931, allocations: 343.1 kB / 0.7259 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7931, allocations: 9.562 kB / 0.7259 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7931, allocations: 0 / 0.7259 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.7931, allocations: 5.031 kB / 0.7259 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.7934, allocations: 78.33 kB / 0.726 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7935, allocations: 3.625 kB / 0.726 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.7936, allocations: 22.66 kB / 0.726 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.7937, allocations: 27.31 kB / 0.726 GB, free: 45.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 0.0001197/0.7938, allocations: 171.4 kB / 0.7262 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.794, allocations: 48.89 kB / 0.7262 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.7956, allocations: 1.531 MB / 0.7277 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.7957, allocations: 16.81 kB / 0.7278 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7957, allocations: 0 / 0.7278 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7957, allocations: 3.047 kB / 0.7278 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.7976, allocations: 2.134 MB / 0.7298 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.7976, allocations: 0 / 0.7298 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.7979, allocations: 60.14 kB / 0.7299 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.7979, allocations: 0 / 0.7299 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.7979, allocations: 7.922 kB / 0.7299 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7979, allocations: 3.031 kB / 0.7299 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7979, allocations: 4 kB / 0.7299 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.7986, allocations: 0.5672 MB / 0.7305 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.7987, allocations: 61.09 kB / 0.7305 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.7987, allocations: 6.031 kB / 0.7305 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.7989, allocations: 9.75 kB / 0.7305 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.799, allocations: 21.56 kB / 0.7306 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.799, allocations: 14.88 kB / 0.7306 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.7991, allocations: 135.9 kB / 0.7307 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.7991, allocations: 0 / 0.7307 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005951/0.805, allocations: 1.728 MB / 0.7324 GB, free: 44.32 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.01101/0.816, allocations: 2.202 MB / 0.7345 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007618/0.8168, allocations: 300.9 kB / 0.7348 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8168, allocations: 0 / 0.7348 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.817, allocations: 180.2 kB / 0.735 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.8178, allocations: 93.2 kB / 0.7351 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.8187, allocations: 0.5757 MB / 0.7357 GB, free: 43.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.8189, allocations: 152.3 kB / 0.7358 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005208/0.8194, allocations: 409.3 kB / 0.7362 GB, free: 43.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.8195, allocations: 48.53 kB / 0.7362 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.8195, allocations: 0 / 0.7362 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.07449/0.894, allocations: 61.66 MB / 0.7965 GB, free: 1.301 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: 11.54090143297799]