Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008487/0.0008488, allocations: 94.5 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1635/0.1635, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.688e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07774, allocations: 63.24 MB / 0.5114 GB, free: 6.816 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.131, allocations: 0.5624 GB / 1.074 GB, free: 98.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.131, allocations: 82.83 kB / 1.074 GB, free: 98.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/2.506, allocations: 0.5079 GB / 1.582 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/2.506, allocations: 4 kB / 1.582 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001521/2.507, allocations: 63.92 kB / 1.582 GB, free: 12.61 MB / 0.5417 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.006786/2.513, allocations: 2.812 MB / 1.585 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/2.513, allocations: 8.031 kB / 1.585 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/2.516, allocations: 440.8 kB / 1.585 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/2.52, allocations: 1.929 MB / 1.587 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/2.521, allocations: 131 kB / 1.587 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/2.521, allocations: 171.9 kB / 1.587 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/2.524, allocations: 2.597 MB / 1.59 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/2.524, allocations: 7.938 kB / 1.59 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/2.524, allocations: 71.97 kB / 1.59 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/2.525, allocations: 162.9 kB / 1.59 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/2.527, allocations: 2.187 MB / 1.592 GB, free: 1.824 MB / 0.5417 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.01234/2.54, allocations: 11.1 MB / 1.603 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/2.542, allocations: 1.767 MB / 1.605 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/2.544, allocations: 1.052 MB / 1.606 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007978/2.544, allocations: 0.5066 MB / 1.606 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/2.546, allocations: 1.279 MB / 1.607 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=162): time 2.655e-06/2.546, allocations: 0 / 1.607 GB, free: 1.113 MB / 0.5573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.2896/2.836, allocations: 8.692 MB / 1.616 GB, free: 58.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/2.836, allocations: 365.1 kB / 1.616 GB, free: 58.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/2.838, allocations: 1.398 MB / 1.618 GB, free: 57.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/2.838, allocations: 62.67 kB / 1.618 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/2.839, allocations: 0.8699 MB / 1.618 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/2.839, allocations: 0.6191 MB / 1.619 GB, free: 57.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/2.839, allocations: 39.06 kB / 1.619 GB, free: 57.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/2.839, allocations: 388.5 kB / 1.619 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/2.841, allocations: 0.9965 MB / 1.62 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/2.842, allocations: 1.444 MB / 1.622 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/2.844, allocations: 1.274 MB / 1.623 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/2.844, allocations: 2.844 kB / 1.623 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004811/2.849, allocations: 3.08 MB / 1.626 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005519/2.85, allocations: 3.777 MB / 1.63 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/2.85, allocations: 9.188 kB / 1.63 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/2.85, allocations: 191.4 kB / 1.63 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/2.852, allocations: 0.542 MB / 1.631 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009881/2.853, allocations: 2.325 MB / 1.633 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/2.855, allocations: 219.8 kB / 1.633 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/2.856, allocations: 190.1 kB / 1.633 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/2.856, allocations: 3.656 kB / 1.633 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00427/2.86, allocations: 2.801 MB / 1.636 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/2.86, allocations: 12 kB / 1.636 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/2.86, allocations: 186.6 kB / 1.636 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/2.863, allocations: 0.5355 MB / 1.637 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009253/2.864, allocations: 2.324 MB / 1.639 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/2.865, allocations: 213.4 kB / 1.639 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/2.866, allocations: 188.9 kB / 1.639 GB, free: 47.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (246): * Single equations (assignments): 240 * 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.0005566/2.866, allocations: 300.3 kB / 1.64 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/2.867, allocations: 215.2 kB / 1.64 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/2.874, allocations: 4.611 MB / 1.644 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/2.874, allocations: 17.81 kB / 1.644 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/2.874, allocations: 0 / 1.644 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003319/2.877, allocations: 2.737 MB / 1.647 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009968/2.887, allocations: 6.992 MB / 1.654 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/2.887, allocations: 7.906 kB / 1.654 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/2.889, allocations: 436.3 kB / 1.654 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/2.889, allocations: 182 kB / 1.654 GB, free: 45.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/2.89, allocations: 102.9 kB / 1.654 GB, free: 45.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/2.891, allocations: 3.071 MB / 1.657 GB, free: 42.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/2.891, allocations: 17.05 kB / 1.658 GB, free: 42.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/2.896, allocations: 4.717 MB / 1.662 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/2.897, allocations: 0.5402 MB / 1.663 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/2.898, allocations: 66.55 kB / 1.663 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/2.899, allocations: 132.1 kB / 1.663 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/2.899, allocations: 178.1 kB / 1.663 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/2.899, allocations: 158.8 kB / 1.663 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001333/2.901, allocations: 1.091 MB / 1.664 GB, free: 40.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/2.901, allocations: 0 / 1.664 GB, free: 40.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004902/2.906, allocations: 1.81 MB / 1.666 GB, free: 40.64 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 185 * 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.003972/2.91, allocations: 2.143 MB / 1.668 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006131/2.916, allocations: 4.318 MB / 1.672 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.916, allocations: 3.125 kB / 1.672 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/2.918, allocations: 1.508 MB / 1.674 GB, free: 39.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004446/2.922, allocations: 0.9816 MB / 1.675 GB, free: 39.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/2.928, allocations: 4.092 MB / 1.679 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/2.929, allocations: 1.721 MB / 1.68 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006096/2.935, allocations: 3.231 MB / 1.684 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/2.936, allocations: 324.8 kB / 1.684 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/2.936, allocations: 0 / 1.684 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of Templates: time 0.08806/3.024, allocations: 77.98 MB / 1.76 GB, free: 29.69 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)