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.001425/0.001425, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007616/0.0007616, allocations: 103.5 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3751/0.3751, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002521, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 62.95 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.338, allocations: 0.5626 GB / 1.081 GB, free: 24.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.338, allocations: 85.06 kB / 1.081 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.697/3.035, allocations: 0.5056 GB / 1.587 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/3.035, allocations: 0 / 1.587 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001588/3.036, allocations: 65.42 kB / 1.587 GB, free: 47.92 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.008138/3.044, allocations: 3.083 MB / 1.59 GB, free: 46.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/3.044, allocations: 10.91 kB / 1.59 GB, free: 46.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/3.046, allocations: 446.5 kB / 1.59 GB, free: 46.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006754/3.053, allocations: 3.357 MB / 1.593 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/3.053, allocations: 129.4 kB / 1.594 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/3.053, allocations: 171 kB / 1.594 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/3.057, allocations: 2.658 MB / 1.596 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/3.057, allocations: 13.03 kB / 1.596 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/3.058, allocations: 74.56 kB / 1.596 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/3.058, allocations: 156 kB / 1.597 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/3.061, allocations: 2.262 MB / 1.599 GB, free: 45.61 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01226/3.073, allocations: 11.08 MB / 1.61 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/3.076, allocations: 1.814 MB / 1.611 GB, free: 39.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/3.077, allocations: 1.077 MB / 1.612 GB, free: 39.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/3.078, allocations: 0.5121 MB / 1.613 GB, free: 38.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/3.08, allocations: 1.316 MB / 1.614 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 3.517e-06/3.08, allocations: 2.062 kB / 1.614 GB, free: 38.66 MB / 0.5417 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 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02314/3.103, allocations: 10.93 MB / 1.625 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/3.103, allocations: 360.1 kB / 1.625 GB, free: 36.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/3.105, allocations: 1.598 MB / 1.627 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/3.105, allocations: 68.19 kB / 1.627 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/3.105, allocations: 0.8605 MB / 1.628 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000398/3.106, allocations: 0.6249 MB / 1.628 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/3.106, allocations: 36.69 kB / 1.628 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/3.106, allocations: 387.5 kB / 1.629 GB, free: 35.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/3.108, allocations: 1.045 MB / 1.63 GB, free: 35.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/3.109, allocations: 1.502 MB / 1.631 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/3.113, allocations: 2.661 MB / 1.634 GB, free: 34.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/3.113, allocations: 2.156 kB / 1.634 GB, free: 34.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004754/3.117, allocations: 3.174 MB / 1.637 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/3.118, allocations: 436 kB / 1.637 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/3.118, allocations: 10.09 kB / 1.637 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/3.118, allocations: 190.6 kB / 1.638 GB, free: 33.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/3.12, allocations: 0.5418 MB / 1.638 GB, free: 33.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/3.121, allocations: 2.332 MB / 1.64 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/3.124, allocations: 216.3 kB / 1.641 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/3.124, allocations: 187.1 kB / 1.641 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/3.124, allocations: 6.906 kB / 1.641 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004398/3.129, allocations: 2.896 MB / 1.644 GB, free: 31.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/3.129, allocations: 9.969 kB / 1.644 GB, free: 31.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/3.129, allocations: 189 kB / 1.644 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/3.131, allocations: 0.5323 MB / 1.644 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009573/3.132, allocations: 2.329 MB / 1.647 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/3.134, allocations: 220.6 kB / 1.647 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/3.134, allocations: 183.3 kB / 1.647 GB, free: 29.39 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 () * Number of clocked 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.001372/3.136, allocations: 0.6935 MB / 1.648 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/3.136, allocations: 216.2 kB / 1.648 GB, free: 29.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007221/3.143, allocations: 4.658 MB / 1.652 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/3.143, allocations: 22.03 kB / 1.652 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/3.143, allocations: 0 / 1.652 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003564/3.147, allocations: 2.803 MB / 1.655 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/3.157, allocations: 7.06 MB / 1.662 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/3.157, allocations: 11.62 kB / 1.662 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/3.159, allocations: 441.6 kB / 1.662 GB, free: 26.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/3.159, allocations: 183.1 kB / 1.663 GB, free: 26.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/3.16, allocations: 100.9 kB / 1.663 GB, free: 26.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/3.161, allocations: 3.072 MB / 1.666 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/3.161, allocations: 14.27 kB / 1.666 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/3.167, allocations: 4.348 MB / 1.67 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/3.168, allocations: 0.552 MB / 1.67 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/3.168, allocations: 56.33 kB / 1.671 GB, free: 21.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/3.17, allocations: 136.5 kB / 1.671 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/3.17, allocations: 172.1 kB / 1.671 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/3.17, allocations: 164.7 kB / 1.671 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001401/3.172, allocations: 1.093 MB / 1.672 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/3.172, allocations: 3.75 kB / 1.672 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004875/3.176, allocations: 1.762 MB / 1.674 GB, free: 20.76 MB / 0.5417 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) * Number of clocked states: 0 () * 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.003799/3.18, allocations: 2.083 MB / 1.676 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006453/3.187, allocations: 4.376 MB / 1.68 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/3.187, allocations: 2.625 kB / 1.68 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/3.189, allocations: 1.528 MB / 1.682 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/3.195, allocations: 0.994 MB / 1.683 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/3.202, allocations: 5.678 MB / 1.688 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/3.204, allocations: 1.688 MB / 1.69 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006637/3.21, allocations: 3.044 MB / 1.693 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/3.211, allocations: 343.7 kB / 1.693 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/3.211, allocations: 3.094 kB / 1.693 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.348/3.559, allocations: 71.51 MB / 1.763 GB, free: 77.39 MB / 0.573 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)