Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001523/0.001523, allocations: 182.6 kB / 7.655 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.785/1.785, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001881/0.001881, allocations: 108.1 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2393/0.2393, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/1.998e-05, allocations: 0 / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.187/2.527, allocations: 0.6543 GB / 1.092 GB, free: 149.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/2.528, allocations: 80.02 kB / 1.092 GB, free: 149.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.616/5.144, allocations: 0.5347 GB / 1.627 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/5.144, allocations: 0 / 1.627 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002007/5.144, allocations: 64.98 kB / 1.627 GB, free: 45.23 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01028/5.154, allocations: 3.016 MB / 1.63 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/5.154, allocations: 9.219 kB / 1.63 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/5.158, allocations: 441.5 kB / 1.63 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/5.164, allocations: 1.931 MB / 1.632 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/5.164, allocations: 54.77 kB / 1.632 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/5.165, allocations: 98.78 kB / 1.632 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003765/5.168, allocations: 2.117 MB / 1.634 GB, free: 43.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/5.173, allocations: 2.356 MB / 1.637 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/5.173, allocations: 8.781 kB / 1.637 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/5.173, allocations: 3.531 kB / 1.637 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/5.173, allocations: 156.4 kB / 1.637 GB, free: 43.42 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.01386/5.187, allocations: 10.72 MB / 1.647 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/5.19, allocations: 1.707 MB / 1.649 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/5.191, allocations: 0.9559 MB / 1.65 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/5.192, allocations: 462.8 kB / 1.65 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/5.193, allocations: 1.041 MB / 1.651 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 3.646e-06/5.193, allocations: 3.281 kB / 1.651 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.03588/5.229, allocations: 9.33 MB / 1.66 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/5.229, allocations: 258.1 kB / 1.661 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/5.231, allocations: 1.071 MB / 1.662 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/5.231, allocations: 28.7 kB / 1.662 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/5.232, allocations: 0.9069 MB / 1.663 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/5.232, allocations: 0.5779 MB / 1.663 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/5.233, allocations: 2.656 kB / 1.663 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/5.233, allocations: 391 kB / 1.663 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/5.234, allocations: 0.9672 MB / 1.664 GB, free: 34.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/5.236, allocations: 1.403 MB / 1.666 GB, free: 34.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/5.245, allocations: 2.303 MB / 1.668 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/5.245, allocations: 5.891 kB / 1.668 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01244/5.257, allocations: 3.912 MB / 1.672 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009792/5.258, allocations: 4.241 MB / 1.676 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/5.258, allocations: 14.31 kB / 1.676 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/5.259, allocations: 173.8 kB / 1.676 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/5.261, allocations: 0.5416 MB / 1.677 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/5.262, allocations: 2.334 MB / 1.679 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/5.265, allocations: 180.8 kB / 1.679 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/5.265, allocations: 191.7 kB / 1.679 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/5.265, allocations: 3.656 kB / 1.679 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/5.276, allocations: 3.438 MB / 1.683 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/5.276, allocations: 10.72 kB / 1.683 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/5.277, allocations: 171.5 kB / 1.683 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/5.279, allocations: 0.5352 MB / 1.683 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/5.28, allocations: 2.342 MB / 1.686 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/5.283, allocations: 170.8 kB / 1.686 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/5.283, allocations: 182.7 kB / 1.686 GB, free: 25.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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.000961/5.284, allocations: 229.6 kB / 1.686 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00075/5.285, allocations: 193.3 kB / 1.686 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/5.3, allocations: 3.885 MB / 1.69 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/5.3, allocations: 19.41 kB / 1.69 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/5.3, allocations: 3.953 kB / 1.69 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01355/5.313, allocations: 3.389 MB / 1.694 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/5.338, allocations: 6.865 MB / 1.7 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/5.338, allocations: 5.594 kB / 1.7 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/5.34, allocations: 414.1 kB / 1.701 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/5.34, allocations: 165.6 kB / 1.701 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/5.341, allocations: 68.7 kB / 1.701 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/5.342, allocations: 3.023 MB / 1.704 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/5.342, allocations: 20.22 kB / 1.704 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/5.355, allocations: 5.086 MB / 1.709 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/5.357, allocations: 0.5038 MB / 1.709 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000774/5.358, allocations: 30.72 kB / 1.709 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/5.36, allocations: 94.59 kB / 1.709 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/5.36, allocations: 160.1 kB / 1.71 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003297/5.361, allocations: 144.1 kB / 1.71 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001695/5.362, allocations: 0.7935 MB / 1.711 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.362, allocations: 0 / 1.711 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008797/5.371, allocations: 1.804 MB / 1.712 GB, free: 18.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,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 (184): * Single equations (assignments): 178 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/5.381, allocations: 2.642 MB / 1.715 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01049/5.392, allocations: 4.111 MB / 1.719 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/5.392, allocations: 5.75 kB / 1.719 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/5.394, allocations: 1.412 MB / 1.72 GB, free: 17.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005358/5.4, allocations: 0.7754 MB / 1.721 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/5.416, allocations: 5.404 MB / 1.726 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/5.418, allocations: 1.725 MB / 1.728 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007882/5.426, allocations: 1.403 MB / 1.729 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/5.428, allocations: 258.8 kB / 1.73 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/5.428, allocations: 0 / 1.73 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.1061/5.534, allocations: 58.94 MB / 1.787 GB, free: 15.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)