Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01148/0.01148, allocations: 175.9 kB / 15.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.598/1.598, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.001831/0.001831, allocations: 104.7 kB / 255.6 MB, free: 11.21 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.212/0.212, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004161, allocations: 10.22 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/6.043, allocations: 2.677 GB / 3.127 GB, free: 64.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/6.043, allocations: 86.02 kB / 3.127 GB, free: 64.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.251/9.295, allocations: 0.9046 GB / 4.032 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/9.295, allocations: 0 / 4.032 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001723/9.295, allocations: 71.38 kB / 4.032 GB, free: 32.55 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01406/9.309, allocations: 4.237 MB / 4.036 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/9.309, allocations: 8.562 kB / 4.036 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007764/9.317, allocations: 0.8757 MB / 4.037 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/9.323, allocations: 2.111 MB / 4.039 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/9.323, allocations: 190.5 kB / 4.039 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/9.323, allocations: 205.2 kB / 4.039 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006783/9.33, allocations: 3.654 MB / 4.043 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/9.33, allocations: 6.344 kB / 4.043 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/9.33, allocations: 92.23 kB / 4.043 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/9.331, allocations: 166.7 kB / 4.043 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/9.337, allocations: 3.343 MB / 4.047 GB, free: 29.49 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.01577/9.353, allocations: 15.47 MB / 4.062 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/9.358, allocations: 2.779 MB / 4.064 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/9.389, allocations: 18.71 MB / 4.083 GB, free: 23.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004389/9.394, allocations: 1.708 MB / 4.084 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=173): time 4.919e-06/9.394, allocations: 0 / 4.084 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189): time 0.02223/9.416, allocations: 9.188 MB / 4.093 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/9.416, allocations: 263.8 kB / 4.094 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/9.418, allocations: 1.355 MB / 4.095 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/9.418, allocations: 60.48 kB / 4.095 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/9.419, allocations: 0.9775 MB / 4.096 GB, free: 21.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/9.419, allocations: 0.6299 MB / 4.096 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/9.42, allocations: 46.78 kB / 4.097 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000195/9.42, allocations: 394.9 kB / 4.097 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/9.422, allocations: 1.137 MB / 4.098 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/9.424, allocations: 1.627 MB / 4.1 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/9.426, allocations: 1.395 MB / 4.101 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/9.426, allocations: 3.25 kB / 4.101 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005532/9.431, allocations: 3.302 MB / 4.104 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001745/9.433, allocations: 5.006 MB / 4.109 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/9.433, allocations: 13.84 kB / 4.109 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000873/9.434, allocations: 256.8 kB / 4.109 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/9.436, allocations: 0.5246 MB / 4.11 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/9.438, allocations: 2.444 MB / 4.112 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/9.441, allocations: 305.9 kB / 4.113 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/9.441, allocations: 111.7 kB / 4.113 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/9.441, allocations: 5.719 kB / 4.113 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00516/9.446, allocations: 3.043 MB / 4.116 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/9.446, allocations: 11.94 kB / 4.116 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/9.447, allocations: 248.1 kB / 4.116 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/9.449, allocations: 0.5245 MB / 4.116 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/9.451, allocations: 2.43 MB / 4.119 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/9.454, allocations: 304.8 kB / 4.119 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/9.454, allocations: 105.8 kB / 4.119 GB, free: 8.672 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 30 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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,junctionIdeal.medium.phase,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_b.phase,pipe1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 248 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001577/9.456, allocations: 0.7621 MB / 4.12 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/9.456, allocations: 211.5 kB / 4.12 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008827/9.465, allocations: 7.547 MB / 4.127 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/9.465, allocations: 89.42 kB / 4.128 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/9.465, allocations: 0 / 4.128 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007831/9.473, allocations: 6.567 MB / 4.134 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/9.491, allocations: 12.19 MB / 4.146 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/9.491, allocations: 8 kB / 4.146 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/9.493, allocations: 429.7 kB / 4.146 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/9.494, allocations: 372.1 kB / 4.147 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/9.495, allocations: 72.2 kB / 4.147 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/9.496, allocations: 2.536 MB / 4.149 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/9.496, allocations: 9.188 kB / 4.149 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2582/9.754, allocations: 7.765 MB / 4.157 GB, free: 61.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/9.756, allocations: 0.7485 MB / 4.157 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/9.757, allocations: 72 kB / 4.158 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/9.758, allocations: 218.1 kB / 4.158 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/9.759, allocations: 172.4 kB / 4.158 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/9.759, allocations: 82.95 kB / 4.158 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001989/9.761, allocations: 1.142 MB / 4.159 GB, free: 61.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.7e-07/9.761, allocations: 0.9062 kB / 4.159 GB, free: 61.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01025/9.771, allocations: 2.748 MB / 4.162 GB, free: 61.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,junctionIdeal.medium.p,junctionIdeal.medium.h) * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse12.phase,$cse12.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.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse42.phase,$cse42.region,$cse43.region3boundary,$cse44.region3boundary,$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,junctionIdeal.medium.phase) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * 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,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/9.784, allocations: 2.851 MB / 4.165 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009556/9.793, allocations: 5.368 MB / 4.17 GB, free: 60.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/9.793, allocations: 1.531 kB / 4.17 GB, free: 60.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/9.798, allocations: 2.756 MB / 4.173 GB, free: 60.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/9.803, allocations: 0.9844 MB / 4.173 GB, free: 60.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1943/9.997, allocations: 130.7 MB / 4.301 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/9.999, allocations: 2.288 MB / 4.303 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004824/10, allocations: 2.379 MB / 4.306 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008171/10, allocations: 205.5 kB / 4.306 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.423e-06/10, allocations: 0 / 4.306 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of Templates: time 0.391/10.4, allocations: 84.48 MB / 4.388 GB, free: 56.57 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1)