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.01181/0.01181, allocations: 176 kB / 15.12 MB, free: 5.969 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.883/1.883, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001764/0.001764, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2315/0.2315, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004648, allocations: 9.844 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.637/7.797, allocations: 2.655 GB / 3.105 GB, free: 87.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/7.797, allocations: 77.28 kB / 3.106 GB, free: 87.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662/9.459, allocations: 464.9 MB / 3.56 GB, free: 5.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/9.459, allocations: 0 / 3.56 GB, free: 5.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.386e-05/9.459, allocations: 26.67 kB / 3.56 GB, free: 5.871 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.009478/9.469, allocations: 2.249 MB / 3.562 GB, free: 3.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/9.469, allocations: 16.03 kB / 3.562 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/9.471, allocations: 377.5 kB / 3.562 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/9.474, allocations: 0.8824 MB / 3.563 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/9.474, allocations: 73.06 kB / 3.563 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/9.474, allocations: 79.77 kB / 3.563 GB, free: 2.145 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/9.477, allocations: 1.486 MB / 3.565 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/9.477, allocations: 0 / 3.565 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/9.477, allocations: 32 kB / 3.565 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/9.477, allocations: 61.89 kB / 3.565 GB, free: 496 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3802/9.857, allocations: 1.338 MB / 3.566 GB, free: 41.14 MB / 490.7 MB 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.009374/9.867, allocations: 6.549 MB / 3.572 GB, free: 37.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/9.87, allocations: 1.02 MB / 3.573 GB, free: 36.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06229/9.932, allocations: 32.01 MB / 3.605 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/9.932, allocations: 49.83 kB / 3.605 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 3.286e-06/9.932, allocations: 0 / 3.605 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.008611/9.941, allocations: 3.35 MB / 3.608 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/9.941, allocations: 189.8 kB / 3.608 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/9.942, allocations: 0.6422 MB / 3.609 GB, free: 32.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/9.942, allocations: 37.55 kB / 3.609 GB, free: 32.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/9.942, allocations: 423.6 kB / 3.609 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/9.943, allocations: 206 kB / 3.609 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/9.943, allocations: 16.41 kB / 3.609 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001961/9.943, allocations: 388.8 kB / 3.61 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/9.944, allocations: 422.8 kB / 3.61 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/9.944, allocations: 0.6223 MB / 3.611 GB, free: 31.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/9.945, allocations: 490.6 kB / 3.611 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/9.945, allocations: 0 / 3.611 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00251/9.948, allocations: 1.367 MB / 3.613 GB, free: 31.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/9.949, allocations: 2.273 MB / 3.615 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/9.949, allocations: 3.625 kB / 3.615 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/9.952, allocations: 0.6785 MB / 3.616 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/9.953, allocations: 165 kB / 3.616 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/9.955, allocations: 1.305 MB / 3.617 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/9.956, allocations: 110.3 kB / 3.617 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/9.956, allocations: 38.86 kB / 3.617 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/9.956, allocations: 3.969 kB / 3.617 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/9.958, allocations: 1.23 MB / 3.618 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/9.958, allocations: 7.531 kB / 3.618 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/9.96, allocations: 431.6 kB / 3.619 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/9.961, allocations: 169.3 kB / 3.619 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/9.962, allocations: 1.114 MB / 3.62 GB, free: 28.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/9.963, allocations: 102.5 kB / 3.62 GB, free: 28.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/9.963, allocations: 39.62 kB / 3.62 GB, free: 28.17 MB / 0.4948 GB 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 () * Number of clocked 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.0008072/9.964, allocations: 363.7 kB / 3.62 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/9.964, allocations: 88.61 kB / 3.621 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/9.969, allocations: 3.353 MB / 3.624 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/9.969, allocations: 41.59 kB / 3.624 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/9.969, allocations: 0 / 3.624 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003303/9.972, allocations: 2.788 MB / 3.627 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/9.979, allocations: 4.599 MB / 3.631 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/9.979, allocations: 3.906 kB / 3.631 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/9.98, allocations: 177 kB / 3.631 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/9.98, allocations: 100.8 kB / 3.631 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/9.98, allocations: 19.03 kB / 3.631 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/9.981, allocations: 0.6443 MB / 3.632 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/9.981, allocations: 9.078 kB / 3.632 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/9.986, allocations: 2.953 MB / 3.635 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/9.987, allocations: 466.2 kB / 3.635 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/9.987, allocations: 19.06 kB / 3.635 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/9.988, allocations: 91.92 kB / 3.635 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/9.988, allocations: 61.64 kB / 3.635 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/9.988, allocations: 30.3 kB / 3.635 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001155/9.989, allocations: 0.7959 MB / 3.636 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/9.989, allocations: 0 / 3.636 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008697/9.998, allocations: 1.737 MB / 3.638 GB, free: 25.42 MB / 0.4948 GB 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 () * Number of clocked 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.01266/10.01, allocations: 1.96 MB / 3.64 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004168/10.02, allocations: 1.871 MB / 3.642 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/10.02, allocations: 0.75 kB / 3.642 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/10.02, allocations: 0.9055 MB / 3.643 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/10.02, allocations: 471.2 kB / 3.643 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/10.02, allocations: 3.735 MB / 3.647 GB, free: 23.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/10.03, allocations: 1.343 MB / 3.648 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001825/10.03, allocations: 0.9112 MB / 3.649 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/10.03, allocations: 80.09 kB / 3.649 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of SimCode: time 2.294e-06/10.03, allocations: 0 / 3.649 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.08123/10.11, allocations: 51.82 MB / 3.7 GB, free: 19.75 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)