Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002034/0.002034, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.617/1.617, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001843/0.001843, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2317/0.2317, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.277e-05, allocations: 2.344 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 48.73 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.311/7.436, allocations: 2.566 GB / 2.955 GB, free: 113.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/7.436, allocations: 76.67 kB / 2.955 GB, free: 113.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.301/10.74, allocations: 0.8723 GB / 3.827 GB, free: 32.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/10.74, allocations: 0 / 3.827 GB, free: 32.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002699/10.74, allocations: 69.92 kB / 3.827 GB, free: 32.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01513/10.75, allocations: 3.831 MB / 3.831 GB, free: 30.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/10.75, allocations: 11.59 kB / 3.831 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007077/10.76, allocations: 0.8488 MB / 3.832 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/10.77, allocations: 2.083 MB / 3.834 GB, free: 29.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/10.77, allocations: 90.17 kB / 3.834 GB, free: 29.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/10.77, allocations: 123.3 kB / 3.834 GB, free: 29.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005491/10.77, allocations: 2.604 MB / 3.837 GB, free: 29.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00616/10.78, allocations: 2.836 MB / 3.84 GB, free: 29.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/10.78, allocations: 10.02 kB / 3.84 GB, free: 29.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004111/10.78, allocations: 4.125 kB / 3.84 GB, free: 29.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/10.78, allocations: 164.6 kB / 3.84 GB, free: 29.42 MB / 474.7 MB 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.5917/11.37, allocations: 109.7 MB / 3.947 GB, free: 58.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/11.38, allocations: 2.092 MB / 3.949 GB, free: 57.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/11.38, allocations: 1.041 MB / 3.95 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0305/11.41, allocations: 17.35 MB / 3.967 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/11.41, allocations: 1.214 MB / 3.968 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=159): time 3.587e-06/11.41, allocations: 0 / 3.968 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=175): time 0.035/11.45, allocations: 9.439 MB / 3.977 GB, free: 44.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/11.45, allocations: 369.8 kB / 3.978 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/11.45, allocations: 1.078 MB / 3.979 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003871/11.45, allocations: 31.7 kB / 3.979 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008218/11.45, allocations: 1.015 MB / 3.98 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/11.45, allocations: 0.5679 MB / 3.98 GB, free: 43.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/11.45, allocations: 4.125 kB / 3.98 GB, free: 43.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001159/11.45, allocations: 394 kB / 3.981 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/11.45, allocations: 0.9865 MB / 3.982 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/11.45, allocations: 1.471 MB / 3.983 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007993/11.46, allocations: 1.943 MB / 3.985 GB, free: 42.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/11.46, allocations: 7.438 kB / 3.985 GB, free: 42.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01153/11.47, allocations: 3.631 MB / 3.988 GB, free: 42.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001171/11.47, allocations: 4.939 MB / 3.993 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/11.47, allocations: 16.5 kB / 3.993 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/11.47, allocations: 220.1 kB / 3.994 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/11.48, allocations: 0.5276 MB / 3.994 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/11.48, allocations: 2.461 MB / 3.996 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/11.48, allocations: 301.4 kB / 3.997 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/11.48, allocations: 107.8 kB / 3.997 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/11.48, allocations: 3.906 kB / 3.997 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/11.49, allocations: 3.197 MB / 4 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/11.49, allocations: 12.06 kB / 4 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/11.49, allocations: 221.9 kB / 4 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/11.49, allocations: 0.5189 MB / 4.001 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/11.5, allocations: 2.46 MB / 4.003 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/11.5, allocations: 278.8 kB / 4.003 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/11.5, allocations: 105 kB / 4.003 GB, free: 33.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 28 (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,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,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.0007176/11.5, allocations: 239.3 kB / 4.004 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/11.5, allocations: 186.4 kB / 4.004 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/11.52, allocations: 6.977 MB / 4.011 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.98e-05/11.52, allocations: 73.73 kB / 4.011 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/11.52, allocations: 0 / 4.011 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01339/11.53, allocations: 6.064 MB / 4.017 GB, free: 31.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/11.55, allocations: 11.06 MB / 4.027 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/11.55, allocations: 6.906 kB / 4.027 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/11.55, allocations: 393.2 kB / 4.028 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007775/11.55, allocations: 322.9 kB / 4.028 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/11.55, allocations: 47.05 kB / 4.028 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/11.56, allocations: 2.64 MB / 4.031 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/11.56, allocations: 7.469 kB / 4.031 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/11.57, allocations: 7.507 MB / 4.038 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/11.57, allocations: 0.693 MB / 4.039 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/11.57, allocations: 29.05 kB / 4.039 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/11.57, allocations: 173.1 kB / 4.039 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/11.57, allocations: 158.1 kB / 4.039 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/11.57, allocations: 81.09 kB / 4.039 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001259/11.57, allocations: 0.988 MB / 4.04 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/11.57, allocations: 3.406 kB / 4.04 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009612/11.58, allocations: 2.573 MB / 4.043 GB, free: 26.5 MB / 0.4948 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: 44 ($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,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,junctionIdeal.medium.phase) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,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.01198/11.6, allocations: 3.017 MB / 4.046 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007409/11.6, allocations: 4.698 MB / 4.05 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/11.6, allocations: 2.906 kB / 4.05 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/11.61, allocations: 2.293 MB / 4.052 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/11.61, allocations: 0.8418 MB / 4.053 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00836/11.62, allocations: 5.598 MB / 4.059 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/11.62, allocations: 2.198 MB / 4.061 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00497/11.63, allocations: 2.593 MB / 4.063 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/11.63, allocations: 170.7 kB / 4.064 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.343e-06/11.63, allocations: 0 / 4.064 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.4713/12.1, allocations: 72.37 MB / 4.134 GB, free: 60.44 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1)