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.001049/0.001049, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.83/1.83, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.00173/0.00173, allocations: 114.2 kB / 252.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2666/0.2666, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.26e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 54.87 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.248/8.406, allocations: 2.677 GB / 3.121 GB, free: 95.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/8.406, allocations: 75.72 kB / 3.121 GB, free: 95.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.388/11.79, allocations: 0.9022 GB / 4.024 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/11.79, allocations: 2.875 kB / 4.024 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000365/11.8, allocations: 69.75 kB / 4.024 GB, free: 34.89 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.01816/11.81, allocations: 3.96 MB / 4.028 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/11.81, allocations: 7.656 kB / 4.028 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/11.82, allocations: 0.8754 MB / 4.029 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007407/11.83, allocations: 2.113 MB / 4.031 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/11.83, allocations: 178.5 kB / 4.031 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008285/11.83, allocations: 210.8 kB / 4.031 GB, free: 31.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/11.84, allocations: 3.621 MB / 4.034 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/11.84, allocations: 11.84 kB / 4.034 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/11.84, allocations: 87.98 kB / 4.035 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/11.84, allocations: 163.5 kB / 4.035 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006482/11.84, allocations: 3.202 MB / 4.038 GB, free: 28.8 MB / 0.5105 GB 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.0182/11.86, allocations: 15.46 MB / 4.053 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/11.87, allocations: 2.688 MB / 4.056 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/11.87, allocations: 1.147 MB / 4.057 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03401/11.9, allocations: 18.76 MB / 4.075 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004966/11.91, allocations: 1.705 MB / 4.077 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=173): time 6.111e-06/11.91, allocations: 3.938 kB / 4.077 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189): time 0.4437/12.35, allocations: 7.696 MB / 4.084 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/12.35, allocations: 265.5 kB / 4.084 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/12.35, allocations: 1.335 MB / 4.086 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006751/12.35, allocations: 65.89 kB / 4.086 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009727/12.36, allocations: 0.9778 MB / 4.087 GB, free: 51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008862/12.36, allocations: 0.6295 MB / 4.087 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/12.36, allocations: 41.62 kB / 4.087 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001457/12.36, allocations: 393.5 kB / 4.088 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/12.36, allocations: 1.019 MB / 4.089 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/12.36, allocations: 1.513 MB / 4.09 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/12.36, allocations: 1.286 MB / 4.092 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/12.36, allocations: 4.844 kB / 4.092 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005938/12.37, allocations: 3.063 MB / 4.095 GB, free: 49.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001558/12.37, allocations: 5.009 MB / 4.099 GB, free: 44.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/12.37, allocations: 16.31 kB / 4.099 GB, free: 44.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/12.37, allocations: 232.3 kB / 4.1 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/12.37, allocations: 0.5293 MB / 4.1 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/12.38, allocations: 2.437 MB / 4.103 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/12.38, allocations: 308.3 kB / 4.103 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/12.38, allocations: 104.8 kB / 4.103 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/12.38, allocations: 8.438 kB / 4.103 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005582/12.38, allocations: 2.799 MB / 4.106 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/12.38, allocations: 13.84 kB / 4.106 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/12.39, allocations: 239.5 kB / 4.106 GB, free: 42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/12.39, allocations: 0.5196 MB / 4.106 GB, free: 42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/12.39, allocations: 2.436 MB / 4.109 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/12.39, allocations: 304 kB / 4.109 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/12.39, allocations: 104.1 kB / 4.109 GB, free: 39.91 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 () * 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.0008285/12.39, allocations: 317.9 kB / 4.11 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/12.39, allocations: 209.1 kB / 4.11 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/12.4, allocations: 7.462 MB / 4.117 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.921e-05/12.4, allocations: 86.28 kB / 4.117 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/12.4, allocations: 4.875 kB / 4.117 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007912/12.41, allocations: 6.472 MB / 4.123 GB, free: 38.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/12.43, allocations: 12.07 MB / 4.135 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/12.43, allocations: 6 kB / 4.135 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/12.43, allocations: 430.7 kB / 4.136 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/12.43, allocations: 346.3 kB / 4.136 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/12.43, allocations: 67.86 kB / 4.136 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/12.44, allocations: 2.534 MB / 4.138 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/12.44, allocations: 12.44 kB / 4.138 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/12.44, allocations: 7.418 MB / 4.146 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/12.45, allocations: 0.7573 MB / 4.146 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008667/12.45, allocations: 62.66 kB / 4.147 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/12.45, allocations: 217.9 kB / 4.147 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/12.45, allocations: 174.7 kB / 4.147 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/12.45, allocations: 81.44 kB / 4.147 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00204/12.45, allocations: 1.124 MB / 4.148 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.92e-07/12.45, allocations: 1.688 kB / 4.148 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01287/12.47, allocations: 2.75 MB / 4.151 GB, free: 32.39 MB / 0.5261 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) * 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.01316/12.48, allocations: 2.85 MB / 4.154 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008851/12.49, allocations: 5.137 MB / 4.159 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/12.49, allocations: 3.844 kB / 4.159 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/12.49, allocations: 2.67 MB / 4.161 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/12.5, allocations: 0.9828 MB / 4.162 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5686/13.07, allocations: 127.9 MB / 4.287 GB, free: 64.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/13.07, allocations: 2.303 MB / 4.289 GB, free: 63.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005926/13.07, allocations: 2.543 MB / 4.292 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/13.07, allocations: 181.4 kB / 4.292 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/13.07, allocations: 0.75 kB / 4.292 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.1291/13.2, allocations: 90.48 MB / 4.38 GB, free: 58.93 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)