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.0009661/0.0009662, allocations: 176.2 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.551/1.551, 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.0017/0.0017, allocations: 124.6 kB / 247.4 MB, free: 8 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.1874/0.1874, allocations: 39.95 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.678e-05, allocations: 0 / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2541, allocations: 54.88 MB / 448.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.598/7.852, allocations: 2.672 GB / 3.11 GB, free: 102.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/7.852, allocations: 75.97 kB / 3.11 GB, free: 102.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.072/10.92, allocations: 0.7916 GB / 3.901 GB, free: 30.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/10.92, allocations: 4 kB / 3.901 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003034/10.92, allocations: 66.59 kB / 3.901 GB, free: 30.75 MB / 0.4948 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.0155/10.94, allocations: 3.648 MB / 3.905 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/10.94, allocations: 11.94 kB / 3.905 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/10.95, allocations: 0.7839 MB / 3.906 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/10.95, allocations: 1.99 MB / 3.908 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/10.95, allocations: 78.06 kB / 3.908 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009765/10.95, allocations: 109 kB / 3.908 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005189/10.96, allocations: 2.542 MB / 3.91 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/10.96, allocations: 2.521 MB / 3.913 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/10.96, allocations: 7.938 kB / 3.913 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/10.97, allocations: 4 kB / 3.913 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/10.97, allocations: 149.1 kB / 3.913 GB, free: 23 MB / 0.4948 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.5958/11.56, allocations: 107.9 MB / 4.018 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/11.56, allocations: 1.432 MB / 4.02 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/11.57, allocations: 0.9571 MB / 4.021 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03428/11.6, allocations: 17.47 MB / 4.038 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/11.6, allocations: 1.139 MB / 4.039 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001568/11.6, allocations: 156.7 kB / 4.039 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=145): time 8.886e-06/11.6, allocations: 0 / 4.039 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=157): time 0.03469/11.64, allocations: 8.725 MB / 4.048 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/11.64, allocations: 362.3 kB / 4.048 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/11.64, allocations: 1.015 MB / 4.049 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003371/11.64, allocations: 31.89 kB / 4.049 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/11.64, allocations: 0.9214 MB / 4.05 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/11.64, allocations: 0.5073 MB / 4.05 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/11.64, allocations: 0 / 4.05 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002161/11.64, allocations: 381.5 kB / 4.051 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/11.64, allocations: 0.8996 MB / 4.052 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/11.65, allocations: 1.317 MB / 4.053 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/11.65, allocations: 1.817 MB / 4.055 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/11.65, allocations: 7.672 kB / 4.055 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01325/11.67, allocations: 3.466 MB / 4.058 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001956/11.67, allocations: 4.314 MB / 4.062 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/11.67, allocations: 14.5 kB / 4.062 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/11.67, allocations: 0.4921 MB / 4.063 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/11.67, allocations: 454.3 kB / 4.063 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/11.68, allocations: 2.808 MB / 4.066 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/11.68, allocations: 251.8 kB / 4.066 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00063/11.68, allocations: 98.27 kB / 4.066 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/11.68, allocations: 3.906 kB / 4.066 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01089/11.69, allocations: 2.941 MB / 4.069 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/11.69, allocations: 11.69 kB / 4.069 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/11.69, allocations: 188.6 kB / 4.069 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/11.69, allocations: 466.3 kB / 4.07 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/11.7, allocations: 1.894 MB / 4.072 GB, free: 21.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/11.7, allocations: 234.8 kB / 4.072 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/11.7, allocations: 93.47 kB / 4.072 GB, free: 21.79 MB / 0.5417 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,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,source.medium.phase,sink.medium.phase,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.001026/11.7, allocations: 239.4 kB / 4.072 GB, free: 21.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000711/11.7, allocations: 176.8 kB / 4.072 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/11.72, allocations: 6.677 MB / 4.079 GB, free: 20.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.079e-05/11.72, allocations: 72.23 kB / 4.079 GB, free: 20.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/11.72, allocations: 0 / 4.079 GB, free: 20.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01182/11.73, allocations: 5.805 MB / 4.085 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/11.75, allocations: 9.894 MB / 4.094 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/11.75, allocations: 6.219 kB / 4.094 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/11.75, allocations: 313.6 kB / 4.094 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/11.75, allocations: 1.251 MB / 4.096 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/11.75, allocations: 44.25 kB / 4.096 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/11.75, allocations: 3.387 MB / 4.099 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/11.75, allocations: 10.88 kB / 4.099 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/11.77, allocations: 7.079 MB / 4.106 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/11.77, allocations: 0.6547 MB / 4.107 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/11.77, allocations: 23.2 kB / 4.107 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/11.77, allocations: 139.8 kB / 4.107 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/11.77, allocations: 145.3 kB / 4.107 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/11.77, allocations: 75.48 kB / 4.107 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002062/11.78, allocations: 0.9464 MB / 4.108 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.31e-07/11.78, allocations: 0 / 4.108 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01103/11.79, allocations: 2.436 MB / 4.11 GB, free: 15.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 45 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.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.phase,$cse32.region,$cse34.region3boundary,$cse35.region3boundary,$cse36.phase,$cse36.region,$cse38.phase,$cse38.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) * 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 (161): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 16 * 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.01359/11.8, allocations: 2.845 MB / 4.113 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00751/11.81, allocations: 4.318 MB / 4.117 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/11.81, allocations: 0 / 4.117 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003106/11.81, allocations: 2.161 MB / 4.119 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/11.82, allocations: 0.714 MB / 4.12 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/11.83, allocations: 5.082 MB / 4.125 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/11.83, allocations: 2.085 MB / 4.127 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005141/11.83, allocations: 2.486 MB / 4.13 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/11.83, allocations: 144.4 kB / 4.13 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/11.83, allocations: 0 / 4.13 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of Templates: time 0.4589/12.29, allocations: 68.78 MB / 4.197 GB, free: 91.9 MB / 0.5573 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)