Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.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.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 172.4 kB / 15.12 MB, free: 5.992 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.13/2.13, allocations: 194.5 MB / 210.3 MB, free: 7.629 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.002051/0.002051, allocations: 120.5 kB / 255.6 MB, free: 10.24 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.2513/0.2513, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004695, allocations: 10.38 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.586/6.755, allocations: 2.673 GB / 3.123 GB, free: 69.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/6.755, allocations: 85.77 kB / 3.123 GB, free: 69.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.914/9.669, allocations: 0.8006 GB / 3.924 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.505e-06/9.67, allocations: 0 / 3.924 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001938/9.67, allocations: 63.98 kB / 3.924 GB, free: 15.47 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: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.01604/9.686, allocations: 3.912 MB / 3.927 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/9.686, allocations: 12.03 kB / 3.927 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006154/9.692, allocations: 0.7786 MB / 3.928 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/9.698, allocations: 2.014 MB / 3.93 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/9.698, allocations: 163.4 kB / 3.93 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000502/9.698, allocations: 172 kB / 3.931 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/9.705, allocations: 3.339 MB / 3.934 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/9.705, allocations: 11.84 kB / 3.934 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/9.705, allocations: 79.97 kB / 3.934 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/9.705, allocations: 151.1 kB / 3.934 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006135/9.712, allocations: 3.174 MB / 3.937 GB, free: 1.363 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.01694/9.729, allocations: 13.66 MB / 3.95 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/9.733, allocations: 2.037 MB / 3.952 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4396/10.17, allocations: 18.82 MB / 3.971 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004856/10.18, allocations: 1.589 MB / 3.972 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001461/10.18, allocations: 174.8 kB / 3.973 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 6.432e-06/10.18, allocations: 0 / 3.973 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167): time 0.02234/10.2, allocations: 8.309 MB / 3.981 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/10.2, allocations: 253.8 kB / 3.981 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/10.2, allocations: 1.275 MB / 3.982 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000323/10.2, allocations: 62.03 kB / 3.982 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/10.21, allocations: 0.8775 MB / 3.983 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007405/10.21, allocations: 0.5542 MB / 3.984 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/10.21, allocations: 38.03 kB / 3.984 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001589/10.21, allocations: 379.7 kB / 3.984 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/10.21, allocations: 1.016 MB / 3.985 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/10.21, allocations: 1.455 MB / 3.986 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/10.21, allocations: 1.258 MB / 3.988 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/10.21, allocations: 5.281 kB / 3.988 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007942/10.22, allocations: 3.112 MB / 3.991 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/10.22, allocations: 4.356 MB / 3.995 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/10.22, allocations: 18.58 kB / 3.995 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/10.23, allocations: 0.5348 MB / 3.995 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/10.23, allocations: 452.5 kB / 3.996 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/10.23, allocations: 2.702 MB / 3.999 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/10.24, allocations: 267.9 kB / 3.999 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004823/10.24, allocations: 94.48 kB / 3.999 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/10.24, allocations: 4.656 kB / 3.999 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006985/10.24, allocations: 2.751 MB / 4.002 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/10.24, allocations: 8.188 kB / 4.002 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/10.24, allocations: 214.6 kB / 4.002 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/10.25, allocations: 464.6 kB / 4.002 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/10.25, allocations: 1.875 MB / 4.004 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/10.25, allocations: 253.5 kB / 4.004 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/10.25, allocations: 93.84 kB / 4.004 GB, free: 17.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 29 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00202/10.25, allocations: 0.7191 MB / 4.005 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/10.25, allocations: 199 kB / 4.005 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/10.27, allocations: 7.443 MB / 4.013 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/10.27, allocations: 80.08 kB / 4.013 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/10.27, allocations: 3.812 kB / 4.013 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01047/10.28, allocations: 6.508 MB / 4.019 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02157/10.3, allocations: 11.21 MB / 4.03 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/10.3, allocations: 7.891 kB / 4.03 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/10.3, allocations: 354 kB / 4.03 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/10.3, allocations: 1.199 MB / 4.031 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003882/10.31, allocations: 66.61 kB / 4.032 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/10.31, allocations: 3.214 MB / 4.035 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/10.31, allocations: 5.781 kB / 4.035 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/10.32, allocations: 7.468 MB / 4.042 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/10.32, allocations: 0.7024 MB / 4.043 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/10.33, allocations: 54.75 kB / 4.043 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/10.33, allocations: 187.9 kB / 4.043 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/10.33, allocations: 151 kB / 4.043 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/10.33, allocations: 71.09 kB / 4.043 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002195/10.33, allocations: 1.083 MB / 4.044 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/10.33, allocations: 0 / 4.044 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01475/10.34, allocations: 2.567 MB / 4.047 GB, free: 10.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse34.region3boundary,$cse35.region3boundary,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,$cse40.region3boundary,$cse41.region3boundary,$cse42.phase,$cse42.region,$cse44.phase,$cse44.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 (177): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01788/10.36, allocations: 2.683 MB / 4.049 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01363/10.38, allocations: 4.875 MB / 4.054 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/10.38, allocations: 0 / 4.054 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007355/10.38, allocations: 2.502 MB / 4.056 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008048/10.39, allocations: 0.8463 MB / 4.057 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6874/11.08, allocations: 130 MB / 4.184 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/11.08, allocations: 2.178 MB / 4.186 GB, free: 65.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005052/11.09, allocations: 2.257 MB / 4.189 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/11.09, allocations: 175.5 kB / 4.189 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of SimCode: time 2.414e-06/11.09, allocations: 0 / 4.189 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.1205/11.21, allocations: 78.89 MB / 4.266 GB, free: 60.8 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe 2>&1)