Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01064/0.01064, allocations: 175.8 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.128/2.128, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.002043/0.002043, allocations: 120.6 kB / 255.6 MB, free: 10.16 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.2508/0.2508, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004955, allocations: 18.31 kB / 406.2 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 54.87 MB / 461 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.7/6.856, allocations: 2.656 GB / 3.106 GB, free: 87.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/6.856, allocations: 85 kB / 3.106 GB, free: 87.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.868/9.724, allocations: 0.7969 GB / 3.903 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.625e-06/9.724, allocations: 0 / 3.903 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002675/9.724, allocations: 72.52 kB / 3.903 GB, free: 25.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.019/9.743, allocations: 4.238 MB / 3.907 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/9.743, allocations: 9.219 kB / 3.907 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006858/9.75, allocations: 0.8345 MB / 3.908 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/9.757, allocations: 2.111 MB / 3.91 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/9.757, allocations: 179.2 kB / 3.91 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/9.758, allocations: 196.7 kB / 3.911 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008607/9.767, allocations: 3.724 MB / 3.914 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.258e-05/9.767, allocations: 15.84 kB / 3.914 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/9.767, allocations: 89.3 kB / 3.914 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/9.767, allocations: 164.3 kB / 3.914 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/9.776, allocations: 3.548 MB / 3.918 GB, free: 15.98 MB / 0.4948 GB 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.02227/9.798, allocations: 14.75 MB / 3.932 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005178/9.803, allocations: 2.203 MB / 3.934 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3947/10.2, allocations: 18.87 MB / 3.953 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004881/10.2, allocations: 1.673 MB / 3.955 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001546/10.2, allocations: 194.5 kB / 3.955 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.479e-06/10.2, allocations: 3.625 kB / 3.955 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.02535/10.23, allocations: 9.112 MB / 3.964 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/10.23, allocations: 412 kB / 3.964 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/10.23, allocations: 1.506 MB / 3.965 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/10.23, allocations: 59.92 kB / 3.966 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/10.23, allocations: 0.9972 MB / 3.967 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/10.24, allocations: 0.5841 MB / 3.967 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/10.24, allocations: 43.36 kB / 3.967 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001857/10.24, allocations: 390.2 kB / 3.967 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/10.24, allocations: 1.159 MB / 3.969 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/10.24, allocations: 1.632 MB / 3.97 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/10.24, allocations: 1.42 MB / 3.972 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/10.24, allocations: 5 kB / 3.972 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.006133/10.25, allocations: 3.513 MB / 3.975 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/10.25, allocations: 4.573 MB / 3.98 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/10.25, allocations: 18.98 kB / 3.98 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/10.25, allocations: 0.9853 MB / 3.98 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/10.26, allocations: 479 kB / 3.981 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/10.26, allocations: 3.164 MB / 3.984 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/10.26, allocations: 241.3 kB / 3.984 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/10.26, allocations: 108.3 kB / 3.984 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/10.26, allocations: 5.812 kB / 3.984 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005906/10.27, allocations: 3.179 MB / 3.987 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/10.27, allocations: 18.11 kB / 3.987 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/10.27, allocations: 365 kB / 3.988 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/10.27, allocations: 0.4934 MB / 3.988 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/10.28, allocations: 4.101 MB / 3.992 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/10.28, allocations: 239.3 kB / 3.993 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/10.28, allocations: 102.6 kB / 3.993 GB, free: 25.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 29 (pipe3.state_a.phase,pipe2.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.002801/10.28, allocations: 0.7601 MB / 3.993 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/10.28, allocations: 216.9 kB / 3.994 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/10.3, allocations: 7.847 MB / 4.001 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.476e-05/10.3, allocations: 85.09 kB / 4.001 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/10.3, allocations: 4.391 kB / 4.001 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008443/10.3, allocations: 6.873 MB / 4.008 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/10.32, allocations: 10.9 MB / 4.019 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/10.32, allocations: 0 / 4.019 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/10.32, allocations: 341.4 kB / 4.019 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/10.33, allocations: 2.143 MB / 4.021 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003757/10.33, allocations: 66.84 kB / 4.021 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/10.33, allocations: 4.112 MB / 4.025 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/10.33, allocations: 1.969 kB / 4.025 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/10.34, allocations: 7.992 MB / 4.033 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/10.34, allocations: 0.7511 MB / 4.034 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008459/10.34, allocations: 53.62 kB / 4.034 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/10.35, allocations: 205 kB / 4.034 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/10.35, allocations: 134.9 kB / 4.034 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/10.35, allocations: 68.05 kB / 4.034 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00238/10.35, allocations: 1.263 MB / 4.035 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/10.35, allocations: 0 / 4.035 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01297/10.36, allocations: 2.827 MB / 4.038 GB, free: 19.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve1.filter.x[1],valve1.filter.x[2],valve2.filter.x[1],valve2.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 55 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/10.38, allocations: 2.841 MB / 4.041 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01406/10.39, allocations: 5.589 MB / 4.046 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/10.39, allocations: 0.5625 kB / 4.046 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/10.4, allocations: 2.428 MB / 4.049 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005797/10.4, allocations: 0.8896 MB / 4.05 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6395/11.04, allocations: 130.5 MB / 4.177 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/11.05, allocations: 2.298 MB / 4.179 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007963/11.05, allocations: 2.192 MB / 4.182 GB, free: 68.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/11.06, allocations: 180 kB / 4.182 GB, free: 68.26 MB / 0.5417 GB Notification: Performance of SimCode: time 1.743e-06/11.06, allocations: 1.094 kB / 4.182 GB, free: 68.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.2168/11.27, allocations: 86.1 MB / 4.266 GB, free: 63.43 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe 2>&1)