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.001144/0.001144, allocations: 181.9 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.431/1.431, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001866/0.001866, allocations: 120.1 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.2388/0.2388, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.296e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.711/8.846, allocations: 2.673 GB / 3.117 GB, free: 93.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/8.846, allocations: 79.14 kB / 3.117 GB, free: 93.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155/12, allocations: 0.7985 GB / 3.916 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/12, allocations: 4.641 kB / 3.916 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002079/12, allocations: 56.11 kB / 3.916 GB, free: 42.07 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: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.01648/12.02, allocations: 3.649 MB / 3.919 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/12.02, allocations: 10.41 kB / 3.919 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/12.02, allocations: 0.7863 MB / 3.92 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/12.03, allocations: 1.99 MB / 3.922 GB, free: 39.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/12.03, allocations: 170.4 kB / 3.922 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008031/12.03, allocations: 177.6 kB / 3.922 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/12.04, allocations: 3.317 MB / 3.926 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/12.04, allocations: 7.344 kB / 3.926 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/12.04, allocations: 85.05 kB / 3.926 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/12.04, allocations: 143.8 kB / 3.926 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006645/12.05, allocations: 3.062 MB / 3.929 GB, free: 39.23 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.01707/12.06, allocations: 13.65 MB / 3.942 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00414/12.07, allocations: 1.958 MB / 3.944 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/12.07, allocations: 1.038 MB / 3.945 GB, free: 30.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03307/12.1, allocations: 18.89 MB / 3.963 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004342/12.11, allocations: 1.598 MB / 3.965 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/12.11, allocations: 181 kB / 3.965 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 6.422e-06/12.11, allocations: 3.375 kB / 3.965 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167): time 0.01724/12.13, allocations: 6.86 MB / 3.972 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/12.13, allocations: 254.3 kB / 3.972 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/12.13, allocations: 1.259 MB / 3.973 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/12.13, allocations: 57.08 kB / 3.973 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/12.13, allocations: 0.8803 MB / 3.974 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/12.13, allocations: 0.5605 MB / 3.975 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/12.13, allocations: 37.59 kB / 3.975 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001224/12.13, allocations: 375.6 kB / 3.975 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/12.13, allocations: 0.9219 MB / 3.976 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/12.13, allocations: 1.355 MB / 3.977 GB, free: 16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/12.13, allocations: 1.167 MB / 3.979 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/12.13, allocations: 3.938 kB / 3.979 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005033/12.14, allocations: 2.908 MB / 3.981 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001907/12.14, allocations: 4.361 MB / 3.986 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/12.14, allocations: 12.78 kB / 3.986 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/12.14, allocations: 0.5215 MB / 3.986 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/12.15, allocations: 452.5 kB / 3.987 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/12.15, allocations: 2.702 MB / 3.989 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/12.15, allocations: 251.9 kB / 3.99 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/12.15, allocations: 107.3 kB / 3.99 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/12.15, allocations: 3.625 kB / 3.99 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004345/12.16, allocations: 2.544 MB / 3.992 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/12.16, allocations: 9.938 kB / 3.992 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/12.16, allocations: 200.9 kB / 3.992 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/12.16, allocations: 470.4 kB / 3.993 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/12.16, allocations: 1.874 MB / 3.995 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/12.16, allocations: 261.7 kB / 3.995 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/12.16, allocations: 92.28 kB / 3.995 GB, free: 23.18 MB / 0.5261 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 () * 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.0008098/12.16, allocations: 296.8 kB / 3.995 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/12.16, allocations: 193.9 kB / 3.995 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008721/12.17, allocations: 7.342 MB / 4.003 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/12.17, allocations: 83.72 kB / 4.003 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/12.17, allocations: 0 / 4.003 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006705/12.18, allocations: 6.425 MB / 4.009 GB, free: 21.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/12.19, allocations: 11.06 MB / 4.02 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/12.19, allocations: 3.594 kB / 4.02 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/12.2, allocations: 358 kB / 4.02 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/12.2, allocations: 1.302 MB / 4.021 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/12.2, allocations: 71.38 kB / 4.021 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/12.2, allocations: 3.199 MB / 4.025 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/12.2, allocations: 7.5 kB / 4.025 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/12.21, allocations: 7.147 MB / 4.032 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/12.21, allocations: 0.7039 MB / 4.032 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/12.21, allocations: 54.69 kB / 4.032 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/12.21, allocations: 185.4 kB / 4.032 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/12.21, allocations: 161 kB / 4.033 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/12.21, allocations: 70.06 kB / 4.033 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001567/12.22, allocations: 1.064 MB / 4.034 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/12.22, allocations: 0.75 kB / 4.034 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01142/12.23, allocations: 2.556 MB / 4.036 GB, free: 13.81 MB / 0.5261 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) * 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.0161/12.24, allocations: 2.691 MB / 4.039 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008106/12.25, allocations: 4.655 MB / 4.043 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/12.25, allocations: 3.812 kB / 4.043 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/12.25, allocations: 2.45 MB / 4.046 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/12.26, allocations: 0.8454 MB / 4.047 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6581/12.92, allocations: 127.7 MB / 4.171 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/12.92, allocations: 2.177 MB / 4.173 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004957/12.92, allocations: 2.419 MB / 4.176 GB, free: 59.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/12.92, allocations: 150.8 kB / 4.176 GB, free: 59.16 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/12.92, allocations: 0 / 4.176 GB, free: 59.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.1175/13.04, allocations: 84.26 MB / 4.258 GB, free: 27.96 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)