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.001027/0.001027, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000821/0.0008212, allocations: 92.94 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.478e-05, allocations: 6.578 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 63.25 MB / 0.5114 GB, free: 6.77 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.251, allocations: 0.5119 GB / 1.023 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.251, allocations: 91.25 kB / 1.023 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6377/1.889, allocations: 220.1 MB / 1.238 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/1.889, allocations: 0 / 1.238 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.436e-05/1.889, allocations: 19.59 kB / 1.238 GB, free: 130.3 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.002735/1.892, allocations: 1.035 MB / 1.239 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.892, allocations: 11.44 kB / 1.239 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/1.893, allocations: 140.5 kB / 1.239 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.894, allocations: 0.5446 MB / 1.24 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/1.894, allocations: 103.1 kB / 1.24 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.894, allocations: 50.34 kB / 1.24 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/1.895, allocations: 0.8087 MB / 1.241 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.895, allocations: 0 / 1.241 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.895, allocations: 29.52 kB / 1.241 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/1.895, allocations: 35.64 kB / 1.241 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/1.896, allocations: 0.6087 MB / 1.242 GB, free: 128.6 MB / 0.5417 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.003554/1.9, allocations: 3.953 MB / 1.245 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/1.9, allocations: 338.4 kB / 1.246 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.901, allocations: 162.3 kB / 1.246 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.945e-05/1.901, allocations: 94.2 kB / 1.246 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.901, allocations: 39.78 kB / 1.246 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/1.901, allocations: 0 / 1.246 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.004645/1.905, allocations: 1.516 MB / 1.247 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.905, allocations: 139.1 kB / 1.248 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/1.906, allocations: 0.5294 MB / 1.248 GB, free: 124 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/1.906, allocations: 35.86 kB / 1.248 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/1.906, allocations: 363.2 kB / 1.249 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/1.906, allocations: 158.6 kB / 1.249 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/1.906, allocations: 8 kB / 1.249 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/1.906, allocations: 381.2 kB / 1.249 GB, free: 123.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/1.907, allocations: 194.4 kB / 1.249 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/1.907, allocations: 0.5009 MB / 1.25 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/1.907, allocations: 293.8 kB / 1.25 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.908, allocations: 3.094 kB / 1.25 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001149/1.909, allocations: 0.853 MB / 1.251 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.909, allocations: 9.719 kB / 1.251 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.909, allocations: 11.41 kB / 1.251 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.91, allocations: 306.5 kB / 1.251 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.91, allocations: 124.1 kB / 1.251 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007989/1.911, allocations: 0.9227 MB / 1.252 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/1.912, allocations: 43.8 kB / 1.252 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/1.912, allocations: 64.92 kB / 1.252 GB, free: 121.5 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 () * 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.0001514/1.912, allocations: 159.1 kB / 1.252 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/1.912, allocations: 69.47 kB / 1.252 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.913, allocations: 0.8616 MB / 1.253 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.913, allocations: 7.5 kB / 1.253 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.913, allocations: 0 / 1.253 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.913, allocations: 0 / 1.253 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/1.915, allocations: 1.43 MB / 1.255 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.915, allocations: 9.297 kB / 1.255 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000916/1.916, allocations: 212.5 kB / 1.255 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.115e-05/1.916, allocations: 22.03 kB / 1.255 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/1.916, allocations: 20.38 kB / 1.255 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.917, allocations: 2.678 MB / 1.258 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.918, allocations: 3.938 kB / 1.258 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/1.918, allocations: 0.8634 MB / 1.258 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/1.919, allocations: 188.6 kB / 1.259 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/1.919, allocations: 13.59 kB / 1.259 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/1.919, allocations: 32.09 kB / 1.259 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/1.919, allocations: 39.12 kB / 1.259 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/1.919, allocations: 46.92 kB / 1.259 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004288/1.92, allocations: 422.7 kB / 1.259 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/1.92, allocations: 0 / 1.259 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001196/1.921, allocations: 337.5 kB / 1.259 GB, free: 116.3 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 () * 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.001535/1.923, allocations: 0.9251 MB / 1.26 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009812/1.924, allocations: 0.5402 MB / 1.261 GB, free: 116 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.924, allocations: 0 / 1.261 GB, free: 116 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007701/1.924, allocations: 398.9 kB / 1.261 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.926, allocations: 338.2 kB / 1.262 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.927, allocations: 0.9527 MB / 1.263 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.928, allocations: 0.9446 MB / 1.263 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001136/1.929, allocations: 467.8 kB / 1.264 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.929, allocations: 110.2 kB / 1.264 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/1.929, allocations: 0 / 1.264 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.03455/1.964, allocations: 28.21 MB / 1.292 GB, free: 98.53 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)