Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009544/0.009544, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.716/1.716, allocations: 170.8 MB / 186.6 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001854/0.001854, allocations: 117.9 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4246/0.4246, allocations: 38.05 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 12 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.972/7.139, allocations: 2.545 GB / 2.947 GB, free: 57.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/7.139, allocations: 79.62 kB / 2.947 GB, free: 57.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.795/8.934, allocations: 454.1 MB / 3.39 GB, free: 39.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.824e-06/8.934, allocations: 0 / 3.39 GB, free: 39.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.947e-05/8.934, allocations: 25.94 kB / 3.39 GB, free: 39.06 MB / 442.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.009362/8.944, allocations: 2.203 MB / 3.392 GB, free: 38.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/8.944, allocations: 11.06 kB / 3.392 GB, free: 38.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/8.947, allocations: 366.1 kB / 3.393 GB, free: 38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/8.95, allocations: 0.8897 MB / 3.394 GB, free: 37.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/8.95, allocations: 70.22 kB / 3.394 GB, free: 37.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/8.95, allocations: 78.28 kB / 3.394 GB, free: 37.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/8.953, allocations: 1.484 MB / 3.395 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/8.953, allocations: 7.938 kB / 3.395 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/8.954, allocations: 35.33 kB / 3.395 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/8.954, allocations: 55.97 kB / 3.395 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/8.956, allocations: 1.346 MB / 3.397 GB, free: 37.41 MB / 442.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.007441/8.964, allocations: 6.556 MB / 3.403 GB, free: 33.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/8.966, allocations: 1.026 MB / 3.404 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05581/9.022, allocations: 31.93 MB / 3.435 GB, free: 29.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/9.022, allocations: 45.59 kB / 3.435 GB, free: 29.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.467e-06/9.022, allocations: 0 / 3.435 GB, free: 29.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.00948/9.032, allocations: 3.346 MB / 3.438 GB, free: 28.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/9.032, allocations: 194.8 kB / 3.439 GB, free: 28.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/9.033, allocations: 0.6518 MB / 3.439 GB, free: 28.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/9.033, allocations: 38.14 kB / 3.439 GB, free: 28.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/9.033, allocations: 409.2 kB / 3.44 GB, free: 27.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/9.034, allocations: 214.1 kB / 3.44 GB, free: 27.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/9.034, allocations: 13.31 kB / 3.44 GB, free: 27.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/9.034, allocations: 387.6 kB / 3.44 GB, free: 27.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/9.035, allocations: 423.4 kB / 3.441 GB, free: 27.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/9.036, allocations: 0.6239 MB / 3.441 GB, free: 27.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/9.036, allocations: 489.6 kB / 3.442 GB, free: 27.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/9.036, allocations: 3.656 kB / 3.442 GB, free: 27.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002568/9.039, allocations: 1.358 MB / 3.443 GB, free: 27.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009435/9.04, allocations: 2.267 MB / 3.445 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/9.04, allocations: 9.156 kB / 3.445 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/9.043, allocations: 0.6786 MB / 3.446 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/9.044, allocations: 162.1 kB / 3.446 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/9.046, allocations: 1.309 MB / 3.447 GB, free: 24.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/9.047, allocations: 108.9 kB / 3.448 GB, free: 24.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/9.047, allocations: 35.73 kB / 3.448 GB, free: 24.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/9.047, allocations: 4.562 kB / 3.448 GB, free: 24.1 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/9.05, allocations: 1.228 MB / 3.449 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/9.05, allocations: 7.625 kB / 3.449 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/9.051, allocations: 432.6 kB / 3.449 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/9.052, allocations: 171.4 kB / 3.449 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/9.053, allocations: 1.113 MB / 3.45 GB, free: 23.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/9.054, allocations: 106.2 kB / 3.451 GB, free: 23.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/9.055, allocations: 41.22 kB / 3.451 GB, free: 23.49 MB / 458.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 () * 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.00081/9.055, allocations: 374.9 kB / 3.451 GB, free: 23.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/9.056, allocations: 84.12 kB / 3.451 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/9.06, allocations: 3.343 MB / 3.454 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/9.06, allocations: 33.19 kB / 3.454 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/9.06, allocations: 0 / 3.454 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003123/9.063, allocations: 2.801 MB / 3.457 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006878/9.07, allocations: 4.596 MB / 3.462 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/9.07, allocations: 7.547 kB / 3.462 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/9.071, allocations: 177.6 kB / 3.462 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/9.071, allocations: 106.3 kB / 3.462 GB, free: 19.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/9.072, allocations: 15.34 kB / 3.462 GB, free: 19.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004466/9.072, allocations: 0.6456 MB / 3.462 GB, free: 18.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/9.072, allocations: 3.938 kB / 3.462 GB, free: 18.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/9.076, allocations: 2.96 MB / 3.465 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/9.077, allocations: 463.1 kB / 3.466 GB, free: 16.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/9.077, allocations: 15.59 kB / 3.466 GB, free: 16.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/9.078, allocations: 87.55 kB / 3.466 GB, free: 16.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/9.079, allocations: 69.55 kB / 3.466 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/9.079, allocations: 28.72 kB / 3.466 GB, free: 16.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001299/9.08, allocations: 0.8004 MB / 3.467 GB, free: 16.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.08, allocations: 0 / 3.467 GB, free: 16.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008933/9.089, allocations: 1.727 MB / 3.468 GB, free: 16 MB / 458.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 () * 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.01267/9.102, allocations: 1.943 MB / 3.47 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004358/9.106, allocations: 1.869 MB / 3.472 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/9.106, allocations: 8.188 kB / 3.472 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/9.108, allocations: 0.905 MB / 3.473 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/9.11, allocations: 465.7 kB / 3.474 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/9.116, allocations: 3.741 MB / 3.477 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/9.117, allocations: 1.34 MB / 3.478 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001811/9.119, allocations: 0.9122 MB / 3.479 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/9.12, allocations: 84.23 kB / 3.479 GB, free: 11.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.374e-06/9.12, allocations: 0 / 3.479 GB, free: 11.46 MB / 458.7 MB Notification: Performance of Templates: time 0.3597/9.479, allocations: 51.75 MB / 3.53 GB, free: 52.77 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)