Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009001/0.0009001, allocations: 101.3 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3033/0.3033, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002447, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2865, allocations: 63.24 MB / 0.5192 GB, free: 43.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8653/1.152, allocations: 0.5119 GB / 1.031 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.152, allocations: 100.9 kB / 1.031 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6344/1.787, allocations: 220.6 MB / 1.247 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.072e-06/1.787, allocations: 0 / 1.247 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.976e-05/1.787, allocations: 18.22 kB / 1.247 GB, free: 106.4 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00267/1.789, allocations: 1.12 MB / 1.248 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/1.789, allocations: 7.844 kB / 1.248 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/1.79, allocations: 152 kB / 1.248 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.791, allocations: 0.528 MB / 1.248 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/1.791, allocations: 107.3 kB / 1.249 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.791, allocations: 42.69 kB / 1.249 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.793, allocations: 0.8239 MB / 1.249 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.793, allocations: 3.625 kB / 1.249 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/1.793, allocations: 19.78 kB / 1.249 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/1.793, allocations: 44.47 kB / 1.249 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/1.794, allocations: 0.6204 MB / 1.25 GB, free: 104 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/1.797, allocations: 3.976 MB / 1.254 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/1.798, allocations: 327.6 kB / 1.254 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.41e-05/1.798, allocations: 93.16 kB / 1.254 GB, free: 100 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.798, allocations: 42.78 kB / 1.254 GB, free: 99.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/1.798, allocations: 4 kB / 1.254 GB, free: 99.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.004955/1.803, allocations: 1.64 MB / 1.256 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/1.803, allocations: 140.5 kB / 1.256 GB, free: 98.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/1.803, allocations: 0.5421 MB / 1.257 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/1.803, allocations: 33.69 kB / 1.257 GB, free: 97.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/1.804, allocations: 372.1 kB / 1.257 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/1.804, allocations: 142 kB / 1.257 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/1.804, allocations: 12 kB / 1.257 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.804, allocations: 378.7 kB / 1.258 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/1.804, allocations: 201.9 kB / 1.258 GB, free: 96.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/1.804, allocations: 0.5008 MB / 1.258 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/1.805, allocations: 296.4 kB / 1.259 GB, free: 95.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.805, allocations: 0 / 1.259 GB, free: 95.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001189/1.806, allocations: 0.8722 MB / 1.259 GB, free: 94.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.806, allocations: 12 kB / 1.259 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.806, allocations: 11.94 kB / 1.259 GB, free: 94.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.807, allocations: 319 kB / 1.26 GB, free: 94.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/1.808, allocations: 123.8 kB / 1.26 GB, free: 94.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008184/1.809, allocations: 0.9273 MB / 1.261 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/1.809, allocations: 47.89 kB / 1.261 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/1.809, allocations: 64.05 kB / 1.261 GB, free: 93.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.81, allocations: 265 kB / 1.261 GB, free: 92.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/1.81, allocations: 63.25 kB / 1.261 GB, free: 92.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/1.811, allocations: 0.8473 MB / 1.262 GB, free: 91.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.811, allocations: 11.92 kB / 1.262 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.811, allocations: 3.938 kB / 1.262 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.811, allocations: 3.984 kB / 1.262 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/1.813, allocations: 1.444 MB / 1.263 GB, free: 90.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.813, allocations: 7.953 kB / 1.263 GB, free: 90.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/1.814, allocations: 208 kB / 1.264 GB, free: 90.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.115e-05/1.814, allocations: 32.73 kB / 1.264 GB, free: 90.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/1.814, allocations: 16 kB / 1.264 GB, free: 90.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/1.815, allocations: 2.688 MB / 1.266 GB, free: 87.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.815, allocations: 4.031 kB / 1.266 GB, free: 87.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/1.816, allocations: 0.8762 MB / 1.267 GB, free: 86.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/1.816, allocations: 188.2 kB / 1.267 GB, free: 85.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/1.816, allocations: 16 kB / 1.267 GB, free: 85.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/1.817, allocations: 23.98 kB / 1.267 GB, free: 85.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/1.817, allocations: 39.91 kB / 1.267 GB, free: 85.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/1.817, allocations: 43.98 kB / 1.267 GB, free: 85.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003698/1.817, allocations: 435 kB / 1.268 GB, free: 85.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/1.817, allocations: 0 / 1.268 GB, free: 85.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001033/1.818, allocations: 331.8 kB / 1.268 GB, free: 85.03 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/1.82, allocations: 0.9388 MB / 1.269 GB, free: 84.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009004/1.821, allocations: 0.5351 MB / 1.27 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.821, allocations: 0 / 1.27 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/1.821, allocations: 404.4 kB / 1.27 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.823, allocations: 346 kB / 1.27 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/1.824, allocations: 1.56 MB / 1.272 GB, free: 81.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.825, allocations: 0.9417 MB / 1.273 GB, free: 80.37 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001032/1.826, allocations: 463.8 kB / 1.273 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.826, allocations: 111.4 kB / 1.273 GB, free: 79.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/1.826, allocations: 0 / 1.273 GB, free: 79.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.02918/1.855, allocations: 25.7 MB / 1.298 GB, free: 54.25 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)