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.001125/0.001124, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.595/1.595, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001801/0.001801, allocations: 115.4 kB / 218 MB, free: 8.406 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.1844/0.1844, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.786e-05, allocations: 2.375 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.09972, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.108/7.208, allocations: 2.544 GB / 2.933 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/7.209, allocations: 79.41 kB / 2.933 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.736/8.945, allocations: 448.7 MB / 3.372 GB, free: 19.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/8.945, allocations: 0 / 3.372 GB, free: 19.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001348/8.945, allocations: 24 kB / 3.372 GB, free: 19.7 MB / 426.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.01227/8.957, allocations: 2.093 MB / 3.374 GB, free: 17.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/8.957, allocations: 8.031 kB / 3.374 GB, free: 17.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/8.961, allocations: 363.1 kB / 3.374 GB, free: 17.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/8.964, allocations: 0.8767 MB / 3.375 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/8.964, allocations: 35.98 kB / 3.375 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/8.964, allocations: 44 kB / 3.375 GB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001963/8.966, allocations: 0.9215 MB / 3.376 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/8.969, allocations: 1.097 MB / 3.377 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/8.969, allocations: 0 / 3.377 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/8.969, allocations: 4 kB / 3.377 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/8.969, allocations: 65.84 kB / 3.377 GB, free: 14.42 MB / 426.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.6104/9.579, allocations: 101.1 MB / 3.476 GB, free: 18.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/9.581, allocations: 481.7 kB / 3.476 GB, free: 18.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/9.581, allocations: 275.4 kB / 3.476 GB, free: 18.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04888/9.63, allocations: 16.77 MB / 3.493 GB, free: 23.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/9.63, allocations: 38.38 kB / 3.493 GB, free: 23.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.795e-06/9.63, allocations: 0 / 3.493 GB, free: 23.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.01212/9.642, allocations: 2.268 MB / 3.495 GB, free: 23.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/9.642, allocations: 142.1 kB / 3.495 GB, free: 22.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/9.644, allocations: 0.5558 MB / 3.496 GB, free: 22.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/9.644, allocations: 25.7 kB / 3.496 GB, free: 22.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/9.644, allocations: 479.3 kB / 3.496 GB, free: 22.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/9.644, allocations: 160.2 kB / 3.496 GB, free: 22.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/9.644, allocations: 1.125 kB / 3.496 GB, free: 22.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/9.645, allocations: 381.7 kB / 3.497 GB, free: 22.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/9.645, allocations: 320.7 kB / 3.497 GB, free: 22.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/9.646, allocations: 0.5262 MB / 3.498 GB, free: 21.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/9.65, allocations: 0.9399 MB / 3.498 GB, free: 21.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/9.65, allocations: 3.75 kB / 3.498 GB, free: 21.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005116/9.655, allocations: 1.669 MB / 3.5 GB, free: 21.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001107/9.656, allocations: 2.272 MB / 3.502 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/9.656, allocations: 3.594 kB / 3.502 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/9.657, allocations: 482.7 kB / 3.503 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/9.658, allocations: 155.5 kB / 3.503 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/9.66, allocations: 1.353 MB / 3.504 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/9.661, allocations: 120.7 kB / 3.504 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/9.661, allocations: 40.31 kB / 3.504 GB, free: 18.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/9.661, allocations: 3.438 kB / 3.504 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004798/9.666, allocations: 1.48 MB / 3.506 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/9.666, allocations: 8.781 kB / 3.506 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/9.668, allocations: 383.8 kB / 3.506 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/9.668, allocations: 174.9 kB / 3.506 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/9.67, allocations: 1.07 MB / 3.507 GB, free: 18.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/9.671, allocations: 98.83 kB / 3.507 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/9.671, allocations: 37.84 kB / 3.508 GB, free: 18.21 MB / 474.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,pipe.statesFM[2].phase,sink.medium.phase,source.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.0003155/9.671, allocations: 124.1 kB / 3.508 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/9.671, allocations: 72.5 kB / 3.508 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/9.675, allocations: 1.864 MB / 3.51 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/9.675, allocations: 27.11 kB / 3.51 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/9.675, allocations: 3.953 kB / 3.51 GB, free: 17.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/9.677, allocations: 1.774 MB / 3.511 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/9.682, allocations: 2.842 MB / 3.514 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/9.682, allocations: 5.266 kB / 3.514 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/9.682, allocations: 121.3 kB / 3.514 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/9.683, allocations: 88.73 kB / 3.514 GB, free: 17.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/9.683, allocations: 12.03 kB / 3.514 GB, free: 17.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006101/9.683, allocations: 0.6712 MB / 3.515 GB, free: 16.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/9.683, allocations: 4.672 kB / 3.515 GB, free: 16.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/9.686, allocations: 1.967 MB / 3.517 GB, free: 16.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/9.687, allocations: 260.8 kB / 3.517 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/9.687, allocations: 3.562 kB / 3.517 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007187/9.688, allocations: 68.61 kB / 3.517 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/9.688, allocations: 42.39 kB / 3.517 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/9.688, allocations: 19.66 kB / 3.517 GB, free: 16.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005695/9.689, allocations: 434.3 kB / 3.518 GB, free: 15.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/9.689, allocations: 2.078 kB / 3.518 GB, free: 15.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008212/9.697, allocations: 1.623 MB / 3.519 GB, free: 15.97 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 11 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01429/9.711, allocations: 2.036 MB / 3.521 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003345/9.715, allocations: 1.403 MB / 3.523 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/9.715, allocations: 4.094 kB / 3.523 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/9.716, allocations: 0.586 MB / 3.523 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/9.718, allocations: 321.4 kB / 3.523 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/9.722, allocations: 1.723 MB / 3.525 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/9.723, allocations: 1.178 MB / 3.526 GB, free: 14.47 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00233/9.725, allocations: 1.078 MB / 3.527 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/9.725, allocations: 69.89 kB / 3.527 GB, free: 14.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.873e-06/9.725, allocations: 4 kB / 3.527 GB, free: 14.42 MB / 474.7 MB Notification: Performance of Templates: time 0.3906/10.12, allocations: 43.3 MB / 3.57 GB, free: 81.15 MB / 474.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)