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.001297/0.001297, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 96.27 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 45.15 MB / 383.8 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.939e-05, allocations: 4 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 63.25 MB / 0.5044 GB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/1.89, allocations: 0.5617 GB / 1.066 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.891, allocations: 79.95 kB / 1.066 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.894/3.784, allocations: 0.5026 GB / 1.569 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/3.784, allocations: 0 / 1.569 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001958/3.785, allocations: 55.98 kB / 1.569 GB, free: 5.879 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.01043/3.795, allocations: 2.813 MB / 1.572 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/3.795, allocations: 12.03 kB / 1.572 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/3.798, allocations: 440.8 kB / 1.572 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/3.804, allocations: 1.925 MB / 1.574 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/3.804, allocations: 63.92 kB / 1.574 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/3.804, allocations: 103.9 kB / 1.574 GB, free: 416 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4781/4.282, allocations: 2.123 MB / 1.576 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/4.286, allocations: 2.38 MB / 1.578 GB, free: 48.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/4.286, allocations: 6.5 kB / 1.578 GB, free: 48.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/4.286, allocations: 8.344 kB / 1.578 GB, free: 48.53 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/4.287, allocations: 147.1 kB / 1.579 GB, free: 48.52 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.01374/4.3, allocations: 11.18 MB / 1.59 GB, free: 42.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/4.303, allocations: 1.722 MB / 1.591 GB, free: 42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/4.304, allocations: 0.9805 MB / 1.592 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008035/4.305, allocations: 0.504 MB / 1.593 GB, free: 41.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/4.307, allocations: 1.167 MB / 1.594 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=153): time 3.527e-06/4.307, allocations: 0 / 1.594 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=176): time 0.03932/4.346, allocations: 9.052 MB / 1.603 GB, free: 40.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/4.346, allocations: 361.5 kB / 1.603 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/4.349, allocations: 1.078 MB / 1.604 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004759/4.35, allocations: 28.83 kB / 1.604 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/4.351, allocations: 0.9005 MB / 1.605 GB, free: 39.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008634/4.352, allocations: 0.5729 MB / 1.606 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/4.352, allocations: 1.094 kB / 1.606 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002181/4.352, allocations: 391 kB / 1.606 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/4.355, allocations: 0.9852 MB / 1.607 GB, free: 39.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/4.357, allocations: 1.405 MB / 1.608 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/4.367, allocations: 2.189 MB / 1.61 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/4.367, allocations: 0 / 1.61 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01589/4.383, allocations: 3.862 MB / 1.614 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/4.384, allocations: 3.707 MB / 1.618 GB, free: 34.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-05/4.384, allocations: 15.42 kB / 1.618 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/4.385, allocations: 165.9 kB / 1.618 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/4.388, allocations: 0.5457 MB / 1.618 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/4.389, allocations: 2.338 MB / 1.621 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/4.393, allocations: 175 kB / 1.621 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008912/4.394, allocations: 191.7 kB / 1.621 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/4.394, allocations: 3.656 kB / 1.621 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01406/4.408, allocations: 3.382 MB / 1.624 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.176e-05/4.408, allocations: 7.469 kB / 1.624 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/4.409, allocations: 170.9 kB / 1.625 GB, free: 32.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/4.411, allocations: 0.5316 MB / 1.625 GB, free: 32.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/4.413, allocations: 2.342 MB / 1.627 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/4.417, allocations: 174.4 kB / 1.628 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006962/4.418, allocations: 183.9 kB / 1.628 GB, free: 30.3 MB / 0.5417 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.001507/4.419, allocations: 229.9 kB / 1.628 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/4.42, allocations: 188.1 kB / 1.628 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/4.438, allocations: 4.431 MB / 1.632 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/4.438, allocations: 19.03 kB / 1.632 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/4.438, allocations: 0 / 1.632 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0137/4.452, allocations: 3.488 MB / 1.636 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/4.474, allocations: 7.016 MB / 1.643 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/4.474, allocations: 5.312 kB / 1.643 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/4.476, allocations: 418.4 kB / 1.643 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/4.477, allocations: 166.7 kB / 1.643 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003531/4.477, allocations: 73.53 kB / 1.643 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/4.479, allocations: 3.03 MB / 1.646 GB, free: 25.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/4.479, allocations: 10.41 kB / 1.646 GB, free: 25.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/4.494, allocations: 5.224 MB / 1.651 GB, free: 24.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/4.496, allocations: 0.5054 MB / 1.652 GB, free: 24.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/4.497, allocations: 25.75 kB / 1.652 GB, free: 24.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/4.5, allocations: 101.5 kB / 1.652 GB, free: 24.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/4.501, allocations: 161.8 kB / 1.652 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005048/4.501, allocations: 150.1 kB / 1.652 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002531/4.504, allocations: 0.7982 MB / 1.653 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/4.504, allocations: 0 / 1.653 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01019/4.514, allocations: 1.656 MB / 1.655 GB, free: 24.05 MB / 0.5417 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 (186): * Single equations (assignments): 180 * 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.007715/4.522, allocations: 2.351 MB / 1.657 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00815/4.53, allocations: 4.122 MB / 1.661 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/4.53, allocations: 0 / 1.661 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/4.532, allocations: 1.423 MB / 1.662 GB, free: 23.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/4.538, allocations: 0.779 MB / 1.663 GB, free: 23.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/4.548, allocations: 3.891 MB / 1.667 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/4.55, allocations: 1.718 MB / 1.669 GB, free: 21.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008072/4.558, allocations: 2.976 MB / 1.672 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/4.559, allocations: 295 kB / 1.672 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/4.559, allocations: 3.875 kB / 1.672 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.09503/4.654, allocations: 57.95 MB / 1.728 GB, free: 14.45 MB / 0.5417 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)