Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, 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.502/1.502, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009954, allocations: 98.84 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2621/0.2621, allocations: 45.14 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.797e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/1.858, allocations: 0.5618 GB / 1.066 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.858, allocations: 77.75 kB / 1.066 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.577/4.435, allocations: 0.5595 GB / 1.626 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/4.435, allocations: 0 / 1.626 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004065/4.435, allocations: 63.86 kB / 1.626 GB, free: 46.94 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01161/4.447, allocations: 2.947 MB / 1.629 GB, free: 45.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/4.447, allocations: 10.09 kB / 1.629 GB, free: 45.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/4.451, allocations: 461.8 kB / 1.629 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007135/4.458, allocations: 2 MB / 1.631 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/4.458, allocations: 60.88 kB / 1.631 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/4.46, allocations: 109.1 kB / 1.631 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005355/4.465, allocations: 2.217 MB / 1.633 GB, free: 45.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/4.471, allocations: 2.483 MB / 1.636 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/4.471, allocations: 6.719 kB / 1.636 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000626/4.472, allocations: 13.22 kB / 1.636 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002332/4.472, allocations: 155.9 kB / 1.636 GB, free: 44.8 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.01846/4.491, allocations: 11.39 MB / 1.647 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/4.494, allocations: 1.772 MB / 1.649 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/4.495, allocations: 1.056 MB / 1.65 GB, free: 38.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008607/4.496, allocations: 0.5077 MB / 1.65 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/4.498, allocations: 1.254 MB / 1.652 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=167): time 5.07e-06/4.498, allocations: 0 / 1.652 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=195): time 0.04213/4.541, allocations: 9.859 MB / 1.661 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/4.541, allocations: 362 kB / 1.662 GB, free: 36.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/4.543, allocations: 1.101 MB / 1.663 GB, free: 35.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/4.544, allocations: 29.55 kB / 1.663 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/4.545, allocations: 0.9339 MB / 1.664 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009382/4.546, allocations: 0.6372 MB / 1.664 GB, free: 35.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/4.547, allocations: 2.438 kB / 1.664 GB, free: 35.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002055/4.547, allocations: 388.2 kB / 1.665 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/4.549, allocations: 1.029 MB / 1.666 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/4.551, allocations: 1.501 MB / 1.667 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009513/4.561, allocations: 2.241 MB / 1.669 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-05/4.561, allocations: 6.75 kB / 1.669 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01444/4.575, allocations: 4.076 MB / 1.673 GB, free: 34.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001239/4.576, allocations: 4.256 MB / 1.677 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/4.577, allocations: 17.19 kB / 1.677 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007759/4.577, allocations: 272.4 kB / 1.678 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/4.58, allocations: 0.5659 MB / 1.678 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/4.582, allocations: 3.029 MB / 1.681 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/4.585, allocations: 183.3 kB / 1.681 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007331/4.586, allocations: 207.6 kB / 1.682 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/4.586, allocations: 3.938 kB / 1.682 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/4.599, allocations: 3.58 MB / 1.685 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.057e-05/4.599, allocations: 9.375 kB / 1.685 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/4.6, allocations: 278.4 kB / 1.685 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/4.602, allocations: 0.5635 MB / 1.686 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/4.604, allocations: 3.029 MB / 1.689 GB, free: 24.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/4.607, allocations: 177.1 kB / 1.689 GB, free: 24.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006577/4.608, allocations: 203.3 kB / 1.689 GB, free: 24.37 MB / 0.5417 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 (261): * Single equations (assignments): 254 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001214/4.609, allocations: 229.5 kB / 1.689 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008892/4.61, allocations: 204.8 kB / 1.69 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/4.627, allocations: 5.216 MB / 1.695 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-05/4.627, allocations: 20.91 kB / 1.695 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/4.627, allocations: 0 / 1.695 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01443/4.641, allocations: 3.808 MB / 1.698 GB, free: 23.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/4.665, allocations: 7.565 MB / 1.706 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/4.665, allocations: 11.12 kB / 1.706 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/4.667, allocations: 461.4 kB / 1.706 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/4.668, allocations: 284.5 kB / 1.707 GB, free: 22.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003623/4.668, allocations: 91.5 kB / 1.707 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/4.672, allocations: 3.719 MB / 1.71 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/4.672, allocations: 9.062 kB / 1.71 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/4.688, allocations: 5.663 MB / 1.716 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/4.689, allocations: 0.5258 MB / 1.716 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007947/4.69, allocations: 27.02 kB / 1.716 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/4.693, allocations: 103.5 kB / 1.716 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/4.693, allocations: 183.5 kB / 1.717 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004959/4.694, allocations: 181.7 kB / 1.717 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002406/4.696, allocations: 0.8021 MB / 1.718 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/4.696, allocations: 0 / 1.718 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009968/4.706, allocations: 1.745 MB / 1.719 GB, free: 33.26 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (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,junctionVolume.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 (203): * Single equations (assignments): 196 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008345/4.714, allocations: 2.53 MB / 1.722 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007571/4.722, allocations: 4.406 MB / 1.726 GB, free: 32.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/4.722, allocations: 2.344 kB / 1.726 GB, free: 32.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/4.724, allocations: 1.553 MB / 1.728 GB, free: 31.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/4.73, allocations: 0.9192 MB / 1.728 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00938/4.739, allocations: 4.149 MB / 1.733 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/4.741, allocations: 1.768 MB / 1.734 GB, free: 29.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008245/4.749, allocations: 3.142 MB / 1.737 GB, free: 27.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/4.751, allocations: 335.4 kB / 1.738 GB, free: 27.43 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/4.751, allocations: 0 / 1.738 GB, free: 27.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.4821/5.233, allocations: 63.81 MB / 1.8 GB, free: 76.08 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)