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.001072/0.001072, allocations: 177 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.728/1.728, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001681/0.001682, allocations: 105.6 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2359/0.2359, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.603e-05, allocations: 0 / 393.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 54.89 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.249/7.587, allocations: 2.676 GB / 3.114 GB, free: 116.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/7.587, allocations: 84.27 kB / 3.114 GB, free: 116.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.222/10.81, allocations: 0.8944 GB / 4.008 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/10.81, allocations: 0 / 4.008 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000324/10.81, allocations: 70.08 kB / 4.008 GB, free: 36.22 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.01556/10.83, allocations: 3.954 MB / 4.012 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/10.83, allocations: 12.56 kB / 4.012 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/10.83, allocations: 0.8773 MB / 4.013 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/10.84, allocations: 2.096 MB / 4.015 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/10.84, allocations: 98.53 kB / 4.015 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000844/10.84, allocations: 118.9 kB / 4.015 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005027/10.84, allocations: 2.617 MB / 4.018 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006121/10.85, allocations: 2.834 MB / 4.021 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.596e-05/10.85, allocations: 10.94 kB / 4.021 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/10.85, allocations: 8.281 kB / 4.021 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/10.85, allocations: 164.2 kB / 4.021 GB, free: 33.41 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.2241/11.08, allocations: 109.6 MB / 4.128 GB, free: 24.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/11.08, allocations: 2.091 MB / 4.13 GB, free: 23.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/11.08, allocations: 1.056 MB / 4.131 GB, free: 23.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03077/11.11, allocations: 17.36 MB / 4.148 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002408/11.11, allocations: 1.22 MB / 4.149 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 4.428e-06/11.11, allocations: 0 / 4.149 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.03514/11.15, allocations: 9.443 MB / 4.158 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/11.15, allocations: 364.9 kB / 4.159 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/11.15, allocations: 1.084 MB / 4.16 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003143/11.15, allocations: 28.8 kB / 4.16 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/11.15, allocations: 1.017 MB / 4.161 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006093/11.15, allocations: 0.5808 MB / 4.161 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/11.15, allocations: 0 / 4.161 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002005/11.15, allocations: 392.1 kB / 4.162 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/11.15, allocations: 1.002 MB / 4.163 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/11.16, allocations: 1.468 MB / 4.164 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/11.16, allocations: 1.953 MB / 4.166 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/11.16, allocations: 5 kB / 4.166 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01086/11.17, allocations: 3.598 MB / 4.17 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/11.18, allocations: 4.954 MB / 4.175 GB, free: 18.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/11.18, allocations: 11.62 kB / 4.175 GB, free: 18.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/11.18, allocations: 221.6 kB / 4.175 GB, free: 18.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/11.18, allocations: 0.527 MB / 4.175 GB, free: 18.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/11.18, allocations: 2.46 MB / 4.178 GB, free: 15.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/11.18, allocations: 305.9 kB / 4.178 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/11.18, allocations: 106.8 kB / 4.178 GB, free: 15.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/11.18, allocations: 8 kB / 4.178 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009494/11.19, allocations: 3.166 MB / 4.181 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/11.19, allocations: 12 kB / 4.181 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/11.19, allocations: 225.3 kB / 4.181 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/11.2, allocations: 0.5192 MB / 4.182 GB, free: 13.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/11.2, allocations: 2.457 MB / 4.184 GB, free: 10.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/11.2, allocations: 274.2 kB / 4.185 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/11.2, allocations: 104.8 kB / 4.185 GB, free: 10.56 MB / 0.573 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,pipe1.statesFM[2].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,source.medium.phase,sink.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.000867/11.2, allocations: 247.8 kB / 4.185 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/11.2, allocations: 195.3 kB / 4.185 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/11.22, allocations: 6.948 MB / 4.192 GB, free: 6.273 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/11.22, allocations: 74.38 kB / 4.192 GB, free: 6.246 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/11.22, allocations: 4.125 kB / 4.192 GB, free: 6.242 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01356/11.23, allocations: 6.045 MB / 4.198 GB, free: 2.648 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3599/11.59, allocations: 11.05 MB / 4.209 GB, free: 96.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/11.59, allocations: 4.406 kB / 4.209 GB, free: 96.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/11.59, allocations: 392.3 kB / 4.209 GB, free: 96.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008655/11.59, allocations: 323.7 kB / 4.209 GB, free: 96.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/11.6, allocations: 43.95 kB / 4.209 GB, free: 96.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/11.6, allocations: 2.643 MB / 4.212 GB, free: 93.99 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/11.6, allocations: 11.69 kB / 4.212 GB, free: 93.99 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/11.61, allocations: 7.499 MB / 4.219 GB, free: 92.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/11.61, allocations: 0.6964 MB / 4.22 GB, free: 92.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/11.61, allocations: 24.55 kB / 4.22 GB, free: 92.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/11.62, allocations: 177 kB / 4.22 GB, free: 92.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/11.62, allocations: 161.1 kB / 4.22 GB, free: 92.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/11.62, allocations: 84.47 kB / 4.22 GB, free: 92.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001564/11.62, allocations: 0.9872 MB / 4.221 GB, free: 92.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/11.62, allocations: 0 / 4.221 GB, free: 92.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009428/11.63, allocations: 2.612 MB / 4.224 GB, free: 92.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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: 46 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.region3boundary,$cse29.region3boundary,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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 (196): * Single equations (assignments): 171 * 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,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01035/11.64, allocations: 3.048 MB / 4.227 GB, free: 92.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006951/11.65, allocations: 4.767 MB / 4.232 GB, free: 92.21 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/11.65, allocations: 0 / 4.232 GB, free: 92.21 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/11.65, allocations: 2.388 MB / 4.234 GB, free: 92.08 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/11.65, allocations: 0.8436 MB / 4.235 GB, free: 92.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/11.66, allocations: 5.618 MB / 4.24 GB, free: 90.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/11.66, allocations: 2.207 MB / 4.242 GB, free: 90.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004994/11.67, allocations: 2.593 MB / 4.245 GB, free: 90.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/11.67, allocations: 171.8 kB / 4.245 GB, free: 90.01 MB / 0.573 GB Notification: Performance of SimCode: time 9.51e-07/11.67, allocations: 0 / 4.245 GB, free: 90.01 MB / 0.573 GB Notification: Performance of Templates: time 0.1094/11.78, allocations: 72.92 MB / 4.316 GB, free: 85.75 MB / 0.573 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)