Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 177.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 86.16 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3766/0.3766, allocations: 44.22 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3576, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.345, allocations: 0.5109 GB / 1.02 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.345, allocations: 95.75 kB / 1.021 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7001/2.045, allocations: 219.7 MB / 1.235 GB, free: 72.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/2.045, allocations: 3.938 kB / 1.235 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.316e-05/2.046, allocations: 16.19 kB / 1.235 GB, free: 72.36 MB / 0.5261 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.002886/2.048, allocations: 1.123 MB / 1.236 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/2.049, allocations: 8.031 kB / 1.236 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/2.049, allocations: 135.1 kB / 1.236 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/2.05, allocations: 0.5405 MB / 1.237 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/2.05, allocations: 104.3 kB / 1.237 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/2.05, allocations: 51.89 kB / 1.237 GB, free: 70.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/2.052, allocations: 0.8229 MB / 1.238 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/2.052, allocations: 3.953 kB / 1.238 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/2.052, allocations: 20 kB / 1.238 GB, free: 69.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/2.052, allocations: 40.92 kB / 1.238 GB, free: 69.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/2.053, allocations: 0.6205 MB / 1.239 GB, free: 68.71 MB / 0.5261 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.003479/2.056, allocations: 3.925 MB / 1.242 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/2.057, allocations: 338.4 kB / 1.243 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/2.057, allocations: 97.3 kB / 1.243 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/2.057, allocations: 42.78 kB / 1.243 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/2.057, allocations: 0 / 1.243 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004954/2.062, allocations: 1.65 MB / 1.244 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/2.062, allocations: 144.4 kB / 1.245 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/2.062, allocations: 0.5421 MB / 1.245 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/2.062, allocations: 29.7 kB / 1.245 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/2.063, allocations: 366.9 kB / 1.246 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/2.063, allocations: 142 kB / 1.246 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/2.063, allocations: 12 kB / 1.246 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/2.063, allocations: 378.8 kB / 1.246 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/2.063, allocations: 193.9 kB / 1.246 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/2.064, allocations: 0.5125 MB / 1.247 GB, free: 59.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/2.064, allocations: 292.4 kB / 1.247 GB, free: 59.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/2.064, allocations: 0 / 1.247 GB, free: 59.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001154/2.065, allocations: 0.8647 MB / 1.248 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/2.065, allocations: 15.98 kB / 1.248 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/2.065, allocations: 16.09 kB / 1.248 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/2.066, allocations: 308.6 kB / 1.248 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/2.067, allocations: 123.8 kB / 1.248 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009219/2.068, allocations: 0.9219 MB / 1.249 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/2.068, allocations: 51.94 kB / 1.249 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/2.068, allocations: 71.98 kB / 1.249 GB, free: 57.11 MB / 0.5261 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.0003055/2.069, allocations: 249.4 kB / 1.25 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/2.069, allocations: 75.28 kB / 1.25 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/2.07, allocations: 0.8473 MB / 1.25 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/2.07, allocations: 7.984 kB / 1.25 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.07, allocations: 3.938 kB / 1.25 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/2.07, allocations: 3.953 kB / 1.25 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/2.072, allocations: 1.445 MB / 1.252 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/2.072, allocations: 3.938 kB / 1.252 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/2.073, allocations: 215.7 kB / 1.252 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.348e-05/2.073, allocations: 28.97 kB / 1.252 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/2.073, allocations: 23.98 kB / 1.252 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/2.075, allocations: 2.684 MB / 1.255 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.075, allocations: 4.344 kB / 1.255 GB, free: 51.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/2.076, allocations: 0.8837 MB / 1.256 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/2.076, allocations: 184.2 kB / 1.256 GB, free: 49.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/2.076, allocations: 12 kB / 1.256 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/2.077, allocations: 28.03 kB / 1.256 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/2.077, allocations: 43.91 kB / 1.256 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/2.077, allocations: 43.98 kB / 1.256 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000406/2.077, allocations: 423 kB / 1.256 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.077, allocations: 0 / 1.256 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001238/2.078, allocations: 331.8 kB / 1.257 GB, free: 49.09 MB / 0.5261 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.001663/2.08, allocations: 0.9434 MB / 1.258 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009722/2.081, allocations: 0.543 MB / 1.258 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/2.081, allocations: 0 / 1.258 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007877/2.082, allocations: 406.3 kB / 1.258 GB, free: 47.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/2.083, allocations: 324.7 kB / 1.259 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/2.085, allocations: 1.568 MB / 1.26 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/2.085, allocations: 0.9456 MB / 1.261 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001106/2.086, allocations: 463.8 kB / 1.262 GB, free: 43.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/2.087, allocations: 111.4 kB / 1.262 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/2.087, allocations: 0 / 1.262 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.03155/2.118, allocations: 25.7 MB / 1.287 GB, free: 18.17 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)