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.001197/0.001197, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000863/0.000863, allocations: 96.42 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.401/0.401, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003311, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.405, allocations: 62.95 MB / 0.5184 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.51, allocations: 0.512 GB / 1.03 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.51, allocations: 100.7 kB / 1.03 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7279/2.238, allocations: 219.2 MB / 1.245 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.594e-06/2.238, allocations: 0 / 1.245 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.661e-05/2.238, allocations: 15.94 kB / 1.245 GB, free: 98 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.003665/2.242, allocations: 1.12 MB / 1.246 GB, free: 96.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/2.242, allocations: 8.031 kB / 1.246 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/2.243, allocations: 135.9 kB / 1.246 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/2.245, allocations: 0.5609 MB / 1.246 GB, free: 96.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/2.245, allocations: 105.7 kB / 1.246 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/2.245, allocations: 47.98 kB / 1.246 GB, free: 95.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/2.246, allocations: 0.8239 MB / 1.247 GB, free: 95.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/2.247, allocations: 15.84 kB / 1.247 GB, free: 95.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/2.247, allocations: 20 kB / 1.247 GB, free: 94.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/2.247, allocations: 36.98 kB / 1.247 GB, free: 94.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/2.248, allocations: 0.6166 MB / 1.248 GB, free: 94.34 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.004333/2.252, allocations: 3.958 MB / 1.252 GB, free: 90.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/2.253, allocations: 342.5 kB / 1.252 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/2.253, allocations: 169.3 kB / 1.252 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/2.253, allocations: 93.38 kB / 1.252 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/2.253, allocations: 42.83 kB / 1.252 GB, free: 89.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.494e-06/2.253, allocations: 0 / 1.252 GB, free: 89.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005101/2.258, allocations: 1.658 MB / 1.254 GB, free: 87.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/2.258, allocations: 140.5 kB / 1.254 GB, free: 87.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/2.259, allocations: 0.6054 MB / 1.255 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/2.259, allocations: 33.7 kB / 1.255 GB, free: 86.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/2.259, allocations: 366.9 kB / 1.255 GB, free: 86.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/2.259, allocations: 150 kB / 1.255 GB, free: 86.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/2.259, allocations: 11.94 kB / 1.255 GB, free: 86.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/2.259, allocations: 374.8 kB / 1.256 GB, free: 85.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/2.26, allocations: 197.9 kB / 1.256 GB, free: 85.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/2.26, allocations: 0.5086 MB / 1.256 GB, free: 85.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/2.261, allocations: 0.7407 MB / 1.257 GB, free: 84.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/2.261, allocations: 0 / 1.257 GB, free: 84.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001571/2.263, allocations: 0.8833 MB / 1.258 GB, free: 83.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/2.263, allocations: 12 kB / 1.258 GB, free: 83.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/2.263, allocations: 12 kB / 1.258 GB, free: 83.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/2.264, allocations: 309.1 kB / 1.258 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/2.264, allocations: 127.8 kB / 1.258 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/2.265, allocations: 0.9223 MB / 1.259 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/2.266, allocations: 51.92 kB / 1.259 GB, free: 81.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/2.266, allocations: 71.92 kB / 1.259 GB, free: 81.85 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.0003849/2.266, allocations: 245.5 kB / 1.26 GB, free: 81.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/2.267, allocations: 67.25 kB / 1.26 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/2.268, allocations: 0.8589 MB / 1.261 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/2.268, allocations: 7.984 kB / 1.261 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/2.268, allocations: 3.938 kB / 1.261 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/2.268, allocations: 0 / 1.261 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/2.271, allocations: 1.445 MB / 1.262 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/2.271, allocations: 4 kB / 1.262 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/2.272, allocations: 208 kB / 1.262 GB, free: 78.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.311e-05/2.272, allocations: 24.84 kB / 1.262 GB, free: 78.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/2.272, allocations: 23.98 kB / 1.262 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/2.273, allocations: 2.684 MB / 1.265 GB, free: 75.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/2.274, allocations: 4 kB / 1.265 GB, free: 75.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/2.275, allocations: 0.8133 MB / 1.266 GB, free: 75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/2.275, allocations: 184.3 kB / 1.266 GB, free: 74.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/2.275, allocations: 12 kB / 1.266 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/2.276, allocations: 39.88 kB / 1.266 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/2.276, allocations: 35.91 kB / 1.266 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/2.276, allocations: 55.91 kB / 1.266 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006164/2.277, allocations: 423 kB / 1.266 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/2.277, allocations: 0 / 1.266 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001431/2.278, allocations: 335.8 kB / 1.267 GB, free: 73.92 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.001897/2.28, allocations: 0.9312 MB / 1.268 GB, free: 72.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001405/2.281, allocations: 0.543 MB / 1.268 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.281, allocations: 0 / 1.268 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/2.282, allocations: 406.4 kB / 1.268 GB, free: 72.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/2.284, allocations: 346 kB / 1.269 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/2.287, allocations: 1.567 MB / 1.27 GB, free: 70.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/2.287, allocations: 0.93 MB / 1.271 GB, free: 69.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001322/2.289, allocations: 463.7 kB / 1.272 GB, free: 68.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/2.289, allocations: 111.4 kB / 1.272 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/2.289, allocations: 0 / 1.272 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.0359/2.325, allocations: 26.53 MB / 1.298 GB, free: 42.14 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)