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.001067/0.001067, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 101 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3214/0.3214, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 8 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3405, allocations: 63.25 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9309/1.271, allocations: 0.5625 GB / 1.082 GB, free: 37.25 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.272, allocations: 80.2 kB / 1.082 GB, free: 37.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.995, allocations: 0.509 GB / 1.591 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/2.995, allocations: 0 / 1.591 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000257/2.995, allocations: 63.42 kB / 1.591 GB, free: 45.66 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.009607/3.005, allocations: 3.102 MB / 1.594 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/3.005, allocations: 10.69 kB / 1.594 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/3.008, allocations: 447.8 kB / 1.594 GB, free: 44.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/3.014, allocations: 1.961 MB / 1.596 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/3.014, allocations: 132.6 kB / 1.596 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006322/3.014, allocations: 164.2 kB / 1.596 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004883/3.019, allocations: 2.647 MB / 1.599 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/3.019, allocations: 4.906 kB / 1.599 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003612/3.02, allocations: 75.3 kB / 1.599 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/3.02, allocations: 155 kB / 1.599 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/3.024, allocations: 2.265 MB / 1.601 GB, free: 43.53 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.0154/3.039, allocations: 11.1 MB / 1.612 GB, free: 37.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/3.042, allocations: 1.817 MB / 1.614 GB, free: 37.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/3.043, allocations: 0.5172 MB / 1.615 GB, free: 36.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002241/3.045, allocations: 1.308 MB / 1.616 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 3.366e-06/3.045, allocations: 2.562 kB / 1.616 GB, free: 36.57 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.02454/3.07, allocations: 11.23 MB / 1.627 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/3.07, allocations: 362.9 kB / 1.627 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/3.073, allocations: 1.417 MB / 1.629 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/3.073, allocations: 66.17 kB / 1.629 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/3.074, allocations: 0.862 MB / 1.629 GB, free: 33.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/3.075, allocations: 0.6258 MB / 1.63 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/3.075, allocations: 44.97 kB / 1.63 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000157/3.075, allocations: 383.4 kB / 1.631 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/3.077, allocations: 1.044 MB / 1.632 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/3.079, allocations: 1.49 MB / 1.633 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/3.08, allocations: 1.306 MB / 1.634 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/3.08, allocations: 0 / 1.634 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004747/3.085, allocations: 3.176 MB / 1.637 GB, free: 32.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006923/3.086, allocations: 3.774 MB / 1.641 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/3.086, allocations: 10 kB / 1.641 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/3.086, allocations: 194.8 kB / 1.641 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/3.088, allocations: 0.5419 MB / 1.642 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009686/3.089, allocations: 2.32 MB / 1.644 GB, free: 26.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/3.092, allocations: 222.7 kB / 1.644 GB, free: 26.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/3.092, allocations: 192 kB / 1.644 GB, free: 26.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/3.092, allocations: 5.969 kB / 1.644 GB, free: 26.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004171/3.096, allocations: 2.891 MB / 1.647 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/3.096, allocations: 11.69 kB / 1.647 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/3.097, allocations: 192 kB / 1.647 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/3.099, allocations: 0.5323 MB / 1.648 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008911/3.1, allocations: 2.333 MB / 1.65 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/3.102, allocations: 207.4 kB / 1.65 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/3.102, allocations: 193.5 kB / 1.651 GB, free: 23.87 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.001219/3.103, allocations: 0.6837 MB / 1.651 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/3.104, allocations: 216.6 kB / 1.652 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/3.111, allocations: 4.67 MB / 1.656 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/3.111, allocations: 22.16 kB / 1.656 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/3.111, allocations: 0 / 1.656 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/3.114, allocations: 2.797 MB / 1.659 GB, free: 22.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/3.125, allocations: 7.047 MB / 1.666 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/3.125, allocations: 11 kB / 1.666 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/3.126, allocations: 439 kB / 1.666 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003619/3.127, allocations: 190.9 kB / 1.666 GB, free: 21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/3.127, allocations: 103 kB / 1.666 GB, free: 21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/3.129, allocations: 3.079 MB / 1.669 GB, free: 34.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.129, allocations: 7.594 kB / 1.669 GB, free: 34.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/3.134, allocations: 4.806 MB / 1.674 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/3.136, allocations: 0.5421 MB / 1.675 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/3.136, allocations: 59.72 kB / 1.675 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/3.138, allocations: 138.5 kB / 1.675 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/3.138, allocations: 172.5 kB / 1.675 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/3.138, allocations: 169.5 kB / 1.675 GB, free: 32.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001457/3.14, allocations: 1.108 MB / 1.676 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/3.14, allocations: 0 / 1.676 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005391/3.145, allocations: 1.807 MB / 1.678 GB, free: 32.25 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) * 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.004755/3.15, allocations: 2.138 MB / 1.68 GB, free: 31.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006417/3.156, allocations: 4.373 MB / 1.684 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/3.156, allocations: 0 / 1.684 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/3.158, allocations: 1.533 MB / 1.686 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/3.163, allocations: 0.9728 MB / 1.687 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/3.171, allocations: 5.678 MB / 1.692 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/3.172, allocations: 1.723 MB / 1.694 GB, free: 27.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006355/3.178, allocations: 3.042 MB / 1.697 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/3.18, allocations: 346.7 kB / 1.697 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/3.18, allocations: 3.156 kB / 1.697 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.3176/3.497, allocations: 70.83 MB / 1.767 GB, free: 75.48 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)