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.0008714/0.0008719, allocations: 179 kB / 18.09 MB, free: 3.754 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.42/1.42, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008447/0.0008445, allocations: 97.22 kB / 293.3 MB, free: 10.8 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.3495/0.3495, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3224, allocations: 61.89 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9232/1.246, allocations: 0.5111 GB / 1.022 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.246, allocations: 101 kB / 1.022 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6584/1.904, allocations: 218.6 MB / 1.235 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/1.904, allocations: 0 / 1.235 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.239e-05/1.904, allocations: 24.14 kB / 1.235 GB, free: 73.22 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.003352/1.908, allocations: 1.11 MB / 1.236 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.908, allocations: 15.97 kB / 1.236 GB, free: 72.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/1.909, allocations: 132 kB / 1.237 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.91, allocations: 0.5646 MB / 1.237 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/1.91, allocations: 105.5 kB / 1.237 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/1.91, allocations: 47.98 kB / 1.237 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/1.911, allocations: 0.819 MB / 1.238 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.912, allocations: 7.938 kB / 1.238 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/1.912, allocations: 27.98 kB / 1.238 GB, free: 70.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/1.912, allocations: 40.97 kB / 1.238 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/1.913, allocations: 0.6166 MB / 1.239 GB, free: 69.56 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.003642/1.916, allocations: 3.936 MB / 1.243 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/1.917, allocations: 336.2 kB / 1.243 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/1.917, allocations: 165.3 kB / 1.243 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/1.917, allocations: 93.39 kB / 1.243 GB, free: 64.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/1.917, allocations: 34.84 kB / 1.243 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/1.917, allocations: 0 / 1.243 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004618/1.922, allocations: 1.665 MB / 1.245 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.922, allocations: 132.5 kB / 1.245 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/1.922, allocations: 0.6093 MB / 1.246 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/1.922, allocations: 33.7 kB / 1.246 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/1.923, allocations: 366.9 kB / 1.246 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/1.923, allocations: 142 kB / 1.246 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/1.923, allocations: 16 kB / 1.246 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/1.923, allocations: 374.8 kB / 1.246 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/1.923, allocations: 201.9 kB / 1.247 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/1.923, allocations: 0.5085 MB / 1.247 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/1.924, allocations: 0.7368 MB / 1.248 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.924, allocations: 4 kB / 1.248 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001164/1.925, allocations: 0.876 MB / 1.249 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.925, allocations: 8 kB / 1.249 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.925, allocations: 12 kB / 1.249 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.927, allocations: 324.9 kB / 1.249 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/1.927, allocations: 123.8 kB / 1.249 GB, free: 58.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000832/1.928, allocations: 0.9231 MB / 1.25 GB, free: 57.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/1.928, allocations: 51.75 kB / 1.25 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/1.929, allocations: 68.06 kB / 1.25 GB, free: 57.12 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.000298/1.929, allocations: 245.5 kB / 1.25 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/1.929, allocations: 63.25 kB / 1.25 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/1.93, allocations: 0.8588 MB / 1.251 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.93, allocations: 11.94 kB / 1.251 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.93, allocations: 4 kB / 1.251 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.93, allocations: 3.984 kB / 1.251 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/1.932, allocations: 1.442 MB / 1.253 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.932, allocations: 0 / 1.253 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/1.933, allocations: 219.9 kB / 1.253 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.285e-05/1.933, allocations: 24.84 kB / 1.253 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/1.933, allocations: 16 kB / 1.253 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/1.934, allocations: 2.684 MB / 1.256 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.934, allocations: 7.922 kB / 1.256 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.935, allocations: 0.8107 MB / 1.256 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/1.936, allocations: 192.2 kB / 1.257 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.936, allocations: 15.98 kB / 1.257 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/1.936, allocations: 24.05 kB / 1.257 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/1.936, allocations: 43.89 kB / 1.257 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/1.937, allocations: 43.98 kB / 1.257 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004512/1.937, allocations: 431 kB / 1.257 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.937, allocations: 0 / 1.257 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001322/1.938, allocations: 331.9 kB / 1.257 GB, free: 49.2 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.001557/1.94, allocations: 0.9233 MB / 1.258 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001015/1.941, allocations: 0.5392 MB / 1.259 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.941, allocations: 4 kB / 1.259 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/1.942, allocations: 414.3 kB / 1.259 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.943, allocations: 336.8 kB / 1.26 GB, free: 47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/1.945, allocations: 1.571 MB / 1.261 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1.946, allocations: 0.9378 MB / 1.262 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001222/1.947, allocations: 471.6 kB / 1.263 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/1.947, allocations: 107.4 kB / 1.263 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of SimCode: time 6.52e-07/1.947, allocations: 3.938 kB / 1.263 GB, free: 43.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.03406/1.982, allocations: 26.51 MB / 1.288 GB, free: 17.45 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)