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.001039/0.001039, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.301/1.301, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008904/0.0008904, allocations: 91.73 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1753/0.1753, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.562e-05, allocations: 8.203 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 61.9 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.288, allocations: 0.5108 GB / 1.013 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.289, allocations: 94.56 kB / 1.013 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6511/1.94, allocations: 219.2 MB / 1.227 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.01e-07/1.94, allocations: 0 / 1.227 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.217e-05/1.94, allocations: 23.36 kB / 1.227 GB, free: 106.3 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.001844/1.942, allocations: 1.031 MB / 1.228 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.942, allocations: 8.031 kB / 1.228 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/1.942, allocations: 139.1 kB / 1.228 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/1.943, allocations: 0.5439 MB / 1.228 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/1.943, allocations: 104.3 kB / 1.229 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/1.943, allocations: 51.12 kB / 1.229 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/1.944, allocations: 0.8034 MB / 1.229 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.944, allocations: 0 / 1.229 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/1.944, allocations: 27.83 kB / 1.229 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/1.944, allocations: 40.98 kB / 1.229 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/1.945, allocations: 0.601 MB / 1.23 GB, free: 102.8 MB / 0.5261 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.003047/1.948, allocations: 3.938 MB / 1.234 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/1.949, allocations: 323.6 kB / 1.234 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.949, allocations: 161.4 kB / 1.234 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/1.949, allocations: 85.39 kB / 1.234 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/1.949, allocations: 45.88 kB / 1.234 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.352e-06/1.949, allocations: 7.938 kB / 1.234 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004299/1.953, allocations: 1.509 MB / 1.236 GB, free: 96.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.953, allocations: 132.5 kB / 1.236 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/1.954, allocations: 0.5422 MB / 1.237 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/1.954, allocations: 33.7 kB / 1.237 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.954, allocations: 359.6 kB / 1.237 GB, free: 95.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/1.954, allocations: 150.8 kB / 1.237 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/1.954, allocations: 16 kB / 1.237 GB, free: 95.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.954, allocations: 378.7 kB / 1.237 GB, free: 94.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/1.954, allocations: 193.5 kB / 1.238 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/1.955, allocations: 0.4948 MB / 1.238 GB, free: 93.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/1.955, allocations: 292 kB / 1.238 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.955, allocations: 4 kB / 1.238 GB, free: 93.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001033/1.956, allocations: 0.8491 MB / 1.239 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.956, allocations: 17.73 kB / 1.239 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.956, allocations: 12 kB / 1.239 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.957, allocations: 304.6 kB / 1.24 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.958, allocations: 119.8 kB / 1.24 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007562/1.958, allocations: 0.9332 MB / 1.241 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/1.959, allocations: 51.97 kB / 1.241 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/1.959, allocations: 63.98 kB / 1.241 GB, free: 91.26 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 () * 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.0001211/1.959, allocations: 153.1 kB / 1.241 GB, free: 91.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/1.959, allocations: 71.16 kB / 1.241 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/1.961, allocations: 0.859 MB / 1.242 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.961, allocations: 8 kB / 1.242 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.961, allocations: 0 / 1.242 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.961, allocations: 0 / 1.242 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.962, allocations: 1.433 MB / 1.243 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.962, allocations: 0 / 1.243 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009087/1.963, allocations: 211.8 kB / 1.243 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.724e-05/1.963, allocations: 28.78 kB / 1.243 GB, free: 88.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/1.963, allocations: 20.19 kB / 1.243 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.964, allocations: 2.68 MB / 1.246 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.964, allocations: 4.031 kB / 1.246 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/1.965, allocations: 0.8663 MB / 1.247 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/1.966, allocations: 180.3 kB / 1.247 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/1.966, allocations: 11.95 kB / 1.247 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/1.966, allocations: 35.94 kB / 1.247 GB, free: 84.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/1.966, allocations: 43.89 kB / 1.247 GB, free: 84.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/1.966, allocations: 43.98 kB / 1.247 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003655/1.967, allocations: 419.2 kB / 1.248 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.967, allocations: 3.938 kB / 1.248 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001177/1.968, allocations: 331.8 kB / 1.248 GB, free: 83.37 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 () * 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.001414/1.969, allocations: 0.9322 MB / 1.249 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008684/1.97, allocations: 0.5436 MB / 1.249 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.97, allocations: 3.859 kB / 1.249 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/1.971, allocations: 394.3 kB / 1.25 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.972, allocations: 336.6 kB / 1.25 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/1.974, allocations: 0.9488 MB / 1.251 GB, free: 80.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/1.974, allocations: 0.9495 MB / 1.252 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001076/1.975, allocations: 467.7 kB / 1.252 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/1.975, allocations: 111.4 kB / 1.252 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/1.975, allocations: 0 / 1.252 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.02957/2.005, allocations: 28.19 MB / 1.28 GB, free: 50.69 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)