Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00114/0.00114, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.729/1.729, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 108 kB / 252.6 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2285/0.2285, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.876e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.286/7.391, allocations: 2.655 GB / 3.1 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/7.391, allocations: 78.7 kB / 3.1 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.348/9.739, allocations: 463.8 MB / 3.553 GB, free: 51.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.137e-06/9.739, allocations: 3.516 kB / 3.553 GB, free: 51.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.146e-05/9.739, allocations: 26.66 kB / 3.553 GB, free: 51.68 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01223/9.751, allocations: 2.147 MB / 3.555 GB, free: 50.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/9.751, allocations: 10.91 kB / 3.555 GB, free: 50.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/9.754, allocations: 370.6 kB / 3.555 GB, free: 50.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/9.757, allocations: 0.8902 MB / 3.556 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/9.757, allocations: 62.8 kB / 3.556 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/9.757, allocations: 79.22 kB / 3.556 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/9.76, allocations: 1.461 MB / 3.558 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/9.76, allocations: 0 / 3.558 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/9.76, allocations: 36.39 kB / 3.558 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/9.76, allocations: 55.08 kB / 3.558 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/9.763, allocations: 1.249 MB / 3.559 GB, free: 50.14 MB / 490.7 MB 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.009559/9.772, allocations: 6.558 MB / 3.565 GB, free: 45.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/9.774, allocations: 0.9328 MB / 3.566 GB, free: 45.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/9.775, allocations: 390.5 kB / 3.567 GB, free: 45.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06095/9.836, allocations: 32.1 MB / 3.598 GB, free: 26.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/9.836, allocations: 46.88 kB / 3.598 GB, free: 26.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 5.651e-06/9.836, allocations: 3.188 kB / 3.598 GB, free: 26.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.008768/9.845, allocations: 2.806 MB / 3.601 GB, free: 25.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/9.845, allocations: 191.4 kB / 3.601 GB, free: 25.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/9.846, allocations: 0.6335 MB / 3.601 GB, free: 25.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/9.847, allocations: 37.3 kB / 3.601 GB, free: 25.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/9.847, allocations: 425.5 kB / 3.602 GB, free: 24.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/9.847, allocations: 206.8 kB / 3.602 GB, free: 24.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/9.847, allocations: 13.19 kB / 3.602 GB, free: 24.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/9.847, allocations: 400.5 kB / 3.602 GB, free: 24.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/9.848, allocations: 346.4 kB / 3.603 GB, free: 24.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/9.849, allocations: 0.5471 MB / 3.603 GB, free: 24.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/9.85, allocations: 421.7 kB / 3.604 GB, free: 24.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/9.85, allocations: 0 / 3.604 GB, free: 24.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002216/9.852, allocations: 1.202 MB / 3.605 GB, free: 24.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007584/9.853, allocations: 2.271 MB / 3.607 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/9.853, allocations: 10.97 kB / 3.607 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/9.856, allocations: 0.6312 MB / 3.608 GB, free: 21.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/9.856, allocations: 166.6 kB / 3.608 GB, free: 21.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/9.858, allocations: 1.251 MB / 3.609 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/9.859, allocations: 106.5 kB / 3.609 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/9.859, allocations: 43.91 kB / 3.609 GB, free: 21.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/9.859, allocations: 3.969 kB / 3.609 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002108/9.861, allocations: 1.075 MB / 3.61 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/9.861, allocations: 3.375 kB / 3.61 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/9.863, allocations: 402.1 kB / 3.611 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/9.864, allocations: 173.2 kB / 3.611 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/9.865, allocations: 1.054 MB / 3.612 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/9.866, allocations: 104.3 kB / 3.612 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/9.866, allocations: 35.95 kB / 3.612 GB, free: 20.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/9.866, allocations: 151.2 kB / 3.612 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/9.867, allocations: 92.2 kB / 3.612 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/9.871, allocations: 3.241 MB / 3.615 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-05/9.871, allocations: 35.8 kB / 3.615 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/9.871, allocations: 7.5 kB / 3.615 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/9.874, allocations: 2.685 MB / 3.618 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/9.881, allocations: 4.486 MB / 3.622 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/9.881, allocations: 3.703 kB / 3.622 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/9.882, allocations: 176 kB / 3.623 GB, free: 16.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/9.883, allocations: 90.97 kB / 3.623 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/9.883, allocations: 22.31 kB / 3.623 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004042/9.883, allocations: 0.6403 MB / 3.623 GB, free: 16.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.883, allocations: 10.72 kB / 3.623 GB, free: 16.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/9.887, allocations: 2.741 MB / 3.626 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/9.888, allocations: 462.2 kB / 3.627 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/9.888, allocations: 20.7 kB / 3.627 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/9.89, allocations: 94.83 kB / 3.627 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/9.89, allocations: 58.17 kB / 3.627 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/9.89, allocations: 25.22 kB / 3.627 GB, free: 14.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001637/9.891, allocations: 0.7886 MB / 3.627 GB, free: 14.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.891, allocations: 4 kB / 3.627 GB, free: 14.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01148/9.903, allocations: 1.729 MB / 3.629 GB, free: 13.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01533/9.918, allocations: 1.97 MB / 3.631 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004249/9.923, allocations: 1.674 MB / 3.633 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/9.923, allocations: 2.297 kB / 3.633 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/9.924, allocations: 0.8446 MB / 3.634 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/9.928, allocations: 468.8 kB / 3.634 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/9.934, allocations: 2.383 MB / 3.636 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/9.936, allocations: 1.342 MB / 3.638 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002829/9.938, allocations: 0.9694 MB / 3.639 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/9.939, allocations: 78.77 kB / 3.639 GB, free: 10.45 MB / 490.7 MB Notification: Performance of SimCode: time 4.628e-06/9.939, allocations: 0 / 3.639 GB, free: 10.45 MB / 490.7 MB Notification: Performance of Templates: time 0.5398/10.48, allocations: 54.7 MB / 3.692 GB, free: 65.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)