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.001036/0.001036, allocations: 199 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.209/1.209, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009436/0.0009431, allocations: 102.5 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3151/0.3151, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 468.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 63.24 MB / 0.5192 GB, free: 43.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.867/1.15, allocations: 0.5626 GB / 1.082 GB, free: 37.19 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/1.151, allocations: 79.47 kB / 1.082 GB, free: 37.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.873, allocations: 0.5668 GB / 1.649 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/2.873, allocations: 3.969 kB / 1.649 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002529/2.874, allocations: 65.28 kB / 1.649 GB, free: 43.63 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.009338/2.883, allocations: 3.265 MB / 1.652 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/2.883, allocations: 7.906 kB / 1.652 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/2.886, allocations: 467.7 kB / 1.652 GB, free: 42.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/2.892, allocations: 2.015 MB / 1.654 GB, free: 41.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/2.892, allocations: 139.1 kB / 1.654 GB, free: 41.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006332/2.892, allocations: 179.1 kB / 1.655 GB, free: 41.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/2.897, allocations: 2.771 MB / 1.657 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/2.897, allocations: 11.91 kB / 1.657 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/2.897, allocations: 78.88 kB / 1.657 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/2.898, allocations: 155.7 kB / 1.658 GB, free: 41.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/2.901, allocations: 2.365 MB / 1.66 GB, free: 40.99 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.01404/2.915, allocations: 11.68 MB / 1.671 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/2.918, allocations: 1.884 MB / 1.673 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007532/2.919, allocations: 0.5116 MB / 1.674 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/2.921, allocations: 1.369 MB / 1.675 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 5.21e-06/2.921, allocations: 0 / 1.675 GB, free: 33.61 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02686/2.947, allocations: 12.46 MB / 1.687 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/2.948, allocations: 365 kB / 1.687 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/2.95, allocations: 1.485 MB / 1.689 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/2.95, allocations: 65.55 kB / 1.689 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/2.951, allocations: 0.9123 MB / 1.69 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/2.951, allocations: 0.677 MB / 1.691 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/2.951, allocations: 43.06 kB / 1.691 GB, free: 28.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001053/2.951, allocations: 392.3 kB / 1.691 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/2.953, allocations: 1.105 MB / 1.692 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/2.955, allocations: 1.583 MB / 1.694 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/2.956, allocations: 1.376 MB / 1.695 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/2.956, allocations: 3.25 kB / 1.695 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004867/2.961, allocations: 3.413 MB / 1.698 GB, free: 24.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006752/2.962, allocations: 4.333 MB / 1.702 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/2.962, allocations: 14.81 kB / 1.702 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/2.963, allocations: 300.2 kB / 1.703 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/2.965, allocations: 0.5674 MB / 1.703 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.966, allocations: 3.01 MB / 1.706 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/2.969, allocations: 234 kB / 1.706 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/2.969, allocations: 202.6 kB / 1.707 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/2.969, allocations: 6.438 kB / 1.707 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004496/2.973, allocations: 3.13 MB / 1.71 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/2.974, allocations: 13.88 kB / 1.71 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/2.974, allocations: 309.8 kB / 1.71 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/2.976, allocations: 0.5546 MB / 1.711 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/2.977, allocations: 3.012 MB / 1.714 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/2.98, allocations: 218.4 kB / 1.714 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/2.98, allocations: 204.7 kB / 1.714 GB, free: 12.93 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 () * Number of clocked 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.001249/2.981, allocations: 0.7076 MB / 1.715 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/2.982, allocations: 231.5 kB / 1.715 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007843/2.99, allocations: 4.848 MB / 1.72 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/2.99, allocations: 20 kB / 1.72 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/2.99, allocations: 0 / 1.72 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003835/2.993, allocations: 3.055 MB / 1.723 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/3.004, allocations: 7.318 MB / 1.73 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/3.005, allocations: 7.609 kB / 1.73 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/3.006, allocations: 466.7 kB / 1.73 GB, free: 280 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007541/3.007, allocations: 327.2 kB / 1.73 GB, free: 8 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006221/3.008, allocations: 147.2 kB / 1.731 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/3.01, allocations: 3.764 MB / 1.734 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/3.01, allocations: 7.953 kB / 1.734 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007305/3.018, allocations: 5.152 MB / 1.739 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/3.019, allocations: 0.5608 MB / 1.74 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/3.02, allocations: 63.7 kB / 1.74 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/3.022, allocations: 144 kB / 1.74 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/3.022, allocations: 187.9 kB / 1.74 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/3.022, allocations: 186.7 kB / 1.74 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001826/3.024, allocations: 1.131 MB / 1.742 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/3.024, allocations: 0 / 1.742 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005923/3.03, allocations: 1.924 MB / 1.743 GB, free: 3.352 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 199 * 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.004868/3.035, allocations: 2.281 MB / 1.746 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009387/3.044, allocations: 4.813 MB / 1.75 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/3.044, allocations: 4 kB / 1.75 GB, free: 13.92 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002518/3.047, allocations: 1.668 MB / 1.752 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/3.052, allocations: 1.122 MB / 1.753 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/3.06, allocations: 6.002 MB / 1.759 GB, free: 6.215 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/3.062, allocations: 1.766 MB / 1.761 GB, free: 4.789 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006657/3.068, allocations: 3.116 MB / 1.764 GB, free: 2.762 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/3.07, allocations: 375.2 kB / 1.764 GB, free: 2.449 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/3.07, allocations: 0 / 1.764 GB, free: 2.449 MB / 0.573 GB Notification: Performance of Templates: time 0.331/3.401, allocations: 77.66 MB / 1.84 GB, free: 66.53 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)