Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=10000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve1.filter.x.1.|valve1.filter.x.2.|valve2.filter.x.1.|valve2.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004608/0.004615, allocations: 362.4 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.148/4.148, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003585/0.003584, allocations: 223.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5154/0.5154, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006139/0.0006141, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1005, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.297/8.397, allocations: 2.656 GB / 3.336 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/8.398, allocations: 83.62 kB / 3.336 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.375/12.77, allocations: 0.7586 GB / 4.095 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.026e-06/12.77, allocations: 0 / 4.095 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004265/12.77, allocations: 74.34 kB / 4.095 GB, free: 38.06 MB / 0.5105 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.02307/12.8, allocations: 4.245 MB / 4.099 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/12.8, allocations: 10.34 kB / 4.099 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008966/12.81, allocations: 0.8301 MB / 4.1 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02655/12.83, allocations: 8.337 MB / 4.108 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/12.83, allocations: 176.5 kB / 4.108 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/12.83, allocations: 197.2 kB / 4.108 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/12.85, allocations: 3.733 MB / 4.112 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/12.85, allocations: 5.938 kB / 4.112 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/12.85, allocations: 92.95 kB / 4.112 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/12.85, allocations: 167.8 kB / 4.112 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/12.86, allocations: 3.548 MB / 4.116 GB, free: 34.93 MB / 0.5105 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.0296/12.89, allocations: 14.74 MB / 4.13 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007922/12.9, allocations: 2.2 MB / 4.132 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/12.9, allocations: 1.163 MB / 4.133 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05643/12.96, allocations: 18.87 MB / 4.152 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006399/12.97, allocations: 1.681 MB / 4.153 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001826/12.97, allocations: 189.4 kB / 4.154 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 5.731e-06/12.97, allocations: 0.8438 kB / 4.154 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.04125/13.01, allocations: 9.006 MB / 4.162 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008326/13.01, allocations: 416.1 kB / 4.163 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/13.01, allocations: 1.69 MB / 4.164 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000669/13.01, allocations: 62.31 kB / 4.164 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/13.02, allocations: 0.9893 MB / 4.165 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/13.02, allocations: 0.5848 MB / 4.166 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/13.02, allocations: 42.39 kB / 4.166 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002367/13.02, allocations: 389.1 kB / 4.166 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/13.02, allocations: 1.159 MB / 4.168 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/13.03, allocations: 1.633 MB / 4.169 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/13.03, allocations: 1.42 MB / 4.171 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/13.03, allocations: 9.047 kB / 4.171 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01169/13.04, allocations: 3.512 MB / 4.174 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003998/13.04, allocations: 490.3 kB / 4.174 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/13.04, allocations: 13.25 kB / 4.174 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008597/13.05, allocations: 0.9983 MB / 4.175 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/13.06, allocations: 470.6 kB / 4.176 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/13.06, allocations: 3.171 MB / 4.179 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/13.06, allocations: 232.5 kB / 4.179 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00056/13.06, allocations: 110 kB / 4.179 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/13.06, allocations: 3.125 kB / 4.179 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01136/13.08, allocations: 3.185 MB / 4.182 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.43e-05/13.08, allocations: 13.47 kB / 4.182 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/13.08, allocations: 372.2 kB / 4.183 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/13.08, allocations: 493.7 kB / 4.183 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/13.09, allocations: 4.058 MB / 4.187 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/13.09, allocations: 232.5 kB / 4.187 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/13.09, allocations: 104.3 kB / 4.188 GB, free: 20.82 MB / 0.5261 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.002127/13.09, allocations: 0.7667 MB / 4.188 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/13.1, allocations: 214.8 kB / 4.188 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/13.11, allocations: 7.847 MB / 4.196 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-05/13.11, allocations: 83.59 kB / 4.196 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/13.11, allocations: 2.312 kB / 4.196 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01344/13.12, allocations: 6.874 MB / 4.203 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/13.15, allocations: 10.9 MB / 4.214 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/13.15, allocations: 0 / 4.214 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/13.15, allocations: 343.8 kB / 4.214 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007907/13.16, allocations: 2.143 MB / 4.216 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005649/13.16, allocations: 67.38 kB / 4.216 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/13.16, allocations: 4.111 MB / 4.22 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/13.16, allocations: 3.125 kB / 4.22 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/13.18, allocations: 7.975 MB / 4.228 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002417/13.18, allocations: 0.7446 MB / 4.229 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/13.18, allocations: 59.33 kB / 4.229 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/13.19, allocations: 200.9 kB / 4.229 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/13.19, allocations: 136.4 kB / 4.229 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/13.19, allocations: 70.73 kB / 4.229 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002874/13.19, allocations: 1.247 MB / 4.23 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.22e-07/13.19, allocations: 3.188 kB / 4.23 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01345/13.2, allocations: 2.712 MB / 4.233 GB, free: 10.79 MB / 0.5261 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.0157/13.22, allocations: 2.678 MB / 4.236 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01526/13.23, allocations: 5.589 MB / 4.241 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/13.23, allocations: 5.25 kB / 4.241 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005943/13.24, allocations: 2.425 MB / 4.243 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009358/13.25, allocations: 0.9278 MB / 4.244 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6623/13.91, allocations: 81.86 MB / 4.324 GB, free: 62.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/13.92, allocations: 2.301 MB / 4.326 GB, free: 61.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006855/13.92, allocations: 2.183 MB / 4.329 GB, free: 61.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/13.92, allocations: 176.2 kB / 4.329 GB, free: 61.67 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/13.92, allocations: 0 / 4.329 GB, free: 61.67 MB / 0.5417 GB Notification: Performance of Templates: time 0.1934/14.12, allocations: 87.22 MB / 4.414 GB, free: 53.61 MB / 0.5417 GB