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.001103/0.001103, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008892, allocations: 100.4 kB / 281.6 MB, free: 5.246 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.2128/0.2128, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.849e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.531/1.682, allocations: 0.5102 GB / 1.005 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.683, allocations: 90.14 kB / 1.005 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7654/2.448, allocations: 216.7 MB / 1.217 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/2.448, allocations: 0 / 1.217 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.098e-05/2.448, allocations: 16 kB / 1.217 GB, free: 65.83 MB / 0.5105 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.003783/2.452, allocations: 1.038 MB / 1.218 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/2.452, allocations: 11.98 kB / 1.218 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/2.453, allocations: 135 kB / 1.218 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/2.455, allocations: 0.5376 MB / 1.218 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/2.455, allocations: 92.64 kB / 1.218 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/2.455, allocations: 28 kB / 1.218 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/2.457, allocations: 0.5258 MB / 1.219 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/2.458, allocations: 0.737 MB / 1.22 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/2.458, allocations: 3.938 kB / 1.22 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/2.458, allocations: 4 kB / 1.22 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/2.458, allocations: 37.3 kB / 1.22 GB, free: 62.52 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.004328/2.463, allocations: 3.956 MB / 1.224 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/2.463, allocations: 249.7 kB / 1.224 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/2.463, allocations: 133.3 kB / 1.224 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/2.463, allocations: 85.34 kB / 1.224 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/2.463, allocations: 38.8 kB / 1.224 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/2.463, allocations: 4 kB / 1.224 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005111/2.468, allocations: 1.395 MB / 1.225 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/2.468, allocations: 132.5 kB / 1.226 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/2.469, allocations: 458.1 kB / 1.226 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/2.469, allocations: 25.7 kB / 1.226 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/2.469, allocations: 397.5 kB / 1.226 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/2.469, allocations: 118.4 kB / 1.226 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/2.469, allocations: 4 kB / 1.226 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001073/2.47, allocations: 362.8 kB / 1.227 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/2.47, allocations: 181.5 kB / 1.227 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/2.47, allocations: 489.1 kB / 1.227 GB, free: 54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/2.471, allocations: 304.7 kB / 1.228 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/2.471, allocations: 8 kB / 1.228 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00136/2.472, allocations: 0.7944 MB / 1.229 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/2.472, allocations: 13.25 kB / 1.229 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/2.472, allocations: 15.95 kB / 1.229 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/2.473, allocations: 274.7 kB / 1.229 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/2.474, allocations: 123.8 kB / 1.229 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/2.475, allocations: 0.9429 MB / 1.23 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/2.475, allocations: 43.92 kB / 1.23 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/2.476, allocations: 63.98 kB / 1.23 GB, free: 51.4 MB / 0.5105 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 () * 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.0002007/2.476, allocations: 132.7 kB / 1.23 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/2.476, allocations: 59.34 kB / 1.23 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/2.477, allocations: 0.6042 MB / 1.231 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/2.477, allocations: 0 / 1.231 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/2.477, allocations: 7.953 kB / 1.231 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/2.477, allocations: 3.984 kB / 1.231 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/2.479, allocations: 0.9765 MB / 1.232 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.479, allocations: 3.953 kB / 1.232 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/2.48, allocations: 199.8 kB / 1.232 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-05/2.48, allocations: 24.88 kB / 1.232 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/2.48, allocations: 12 kB / 1.232 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/2.481, allocations: 2.585 MB / 1.234 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.482, allocations: 4.25 kB / 1.234 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/2.482, allocations: 0.6851 MB / 1.235 GB, free: 45.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/2.483, allocations: 172.3 kB / 1.235 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/2.483, allocations: 0 / 1.235 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/2.483, allocations: 20.05 kB / 1.235 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/2.483, allocations: 31.95 kB / 1.235 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/2.483, allocations: 39.98 kB / 1.235 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003918/2.484, allocations: 342.9 kB / 1.236 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/2.484, allocations: 0 / 1.236 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001325/2.485, allocations: 290.3 kB / 1.236 GB, free: 44.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.001791/2.487, allocations: 1.061 MB / 1.237 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009046/2.488, allocations: 491.8 kB / 1.238 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.488, allocations: 0 / 1.238 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/2.488, allocations: 366.4 kB / 1.238 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/2.49, allocations: 245 kB / 1.238 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/2.492, allocations: 0.8671 MB / 1.239 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/2.492, allocations: 0.9373 MB / 1.24 GB, free: 41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001133/2.493, allocations: 409.9 kB / 1.24 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/2.494, allocations: 99.38 kB / 1.24 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/2.494, allocations: 3.938 kB / 1.24 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.0256/2.519, allocations: 17.61 MB / 1.258 GB, free: 22.98 MB / 0.5105 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)