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.001325/0.001325, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008606, allocations: 96.78 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3184/0.3184, allocations: 44.81 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3329, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.252, allocations: 0.5627 GB / 1.081 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/1.252, allocations: 80.64 kB / 1.081 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.992/3.244, allocations: 0.5628 GB / 1.644 GB, free: 45.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.933e-06/3.244, allocations: 2.781 kB / 1.644 GB, free: 45.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002243/3.244, allocations: 72.88 kB / 1.644 GB, free: 45.56 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.009443/3.254, allocations: 3.232 MB / 1.647 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/3.254, allocations: 7.094 kB / 1.647 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/3.257, allocations: 468.8 kB / 1.648 GB, free: 43.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/3.265, allocations: 3.434 MB / 1.651 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/3.265, allocations: 133.4 kB / 1.651 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000641/3.266, allocations: 181.6 kB / 1.651 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004591/3.27, allocations: 2.784 MB / 1.654 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/3.27, allocations: 7.875 kB / 1.654 GB, free: 42.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/3.271, allocations: 75.75 kB / 1.654 GB, free: 42.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/3.271, allocations: 161 kB / 1.654 GB, free: 42.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/3.274, allocations: 2.359 MB / 1.657 GB, free: 42.76 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.01335/3.288, allocations: 11.67 MB / 1.668 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/3.29, allocations: 1.887 MB / 1.67 GB, free: 35.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/3.292, allocations: 1.148 MB / 1.671 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/3.293, allocations: 0.5082 MB / 1.672 GB, free: 35.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/3.294, allocations: 1.369 MB / 1.673 GB, free: 34.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 3.456e-06/3.294, allocations: 0 / 1.673 GB, free: 34.52 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.02736/3.322, allocations: 12.16 MB / 1.685 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/3.322, allocations: 364.9 kB / 1.685 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/3.324, allocations: 1.673 MB / 1.687 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/3.324, allocations: 64.08 kB / 1.687 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/3.325, allocations: 0.9154 MB / 1.688 GB, free: 28.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/3.325, allocations: 0.6739 MB / 1.688 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/3.326, allocations: 43.22 kB / 1.688 GB, free: 27.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001034/3.326, allocations: 395.2 kB / 1.689 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/3.327, allocations: 1.106 MB / 1.69 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/3.329, allocations: 1.596 MB / 1.691 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/3.333, allocations: 2.819 MB / 1.694 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/3.333, allocations: 7.156 kB / 1.694 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005283/3.338, allocations: 3.408 MB / 1.697 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/3.338, allocations: 474.8 kB / 1.698 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/3.338, allocations: 11.62 kB / 1.698 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/3.339, allocations: 301 kB / 1.698 GB, free: 22.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/3.341, allocations: 0.5644 MB / 1.699 GB, free: 21.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/3.343, allocations: 3.013 MB / 1.702 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/3.345, allocations: 221.1 kB / 1.702 GB, free: 18.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/3.346, allocations: 209.5 kB / 1.702 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/3.346, allocations: 4 kB / 1.702 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/3.35, allocations: 3.135 MB / 1.705 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/3.35, allocations: 15.83 kB / 1.705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/3.351, allocations: 299.2 kB / 1.705 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/3.353, allocations: 0.5601 MB / 1.706 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/3.354, allocations: 3.007 MB / 1.709 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/3.357, allocations: 218.6 kB / 1.709 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/3.357, allocations: 210.7 kB / 1.709 GB, free: 11.54 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.001396/3.358, allocations: 0.7017 MB / 1.71 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/3.359, allocations: 225.3 kB / 1.71 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007765/3.367, allocations: 4.854 MB / 1.715 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/3.367, allocations: 20 kB / 1.715 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/3.367, allocations: 3.891 kB / 1.715 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/3.371, allocations: 3.058 MB / 1.718 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/3.383, allocations: 7.373 MB / 1.725 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/3.383, allocations: 8 kB / 1.725 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/3.385, allocations: 469.3 kB / 1.726 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008402/3.386, allocations: 328.6 kB / 1.726 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/3.386, allocations: 114.5 kB / 1.726 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/3.389, allocations: 3.763 MB / 1.73 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/3.389, allocations: 11.83 kB / 1.73 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007929/3.397, allocations: 4.71 MB / 1.734 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/3.399, allocations: 0.5675 MB / 1.735 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/3.399, allocations: 66.33 kB / 1.735 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/3.401, allocations: 137.2 kB / 1.735 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/3.401, allocations: 192.9 kB / 1.735 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/3.402, allocations: 189.3 kB / 1.735 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001836/3.403, allocations: 1.118 MB / 1.737 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/3.403, allocations: 0 / 1.737 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006805/3.41, allocations: 1.876 MB / 1.738 GB, free: 1.066 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.004739/3.415, allocations: 2.216 MB / 1.741 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008135/3.423, allocations: 4.659 MB / 1.745 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/3.423, allocations: 0 / 1.745 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/3.426, allocations: 1.665 MB / 1.747 GB, free: 9.797 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/3.433, allocations: 1.151 MB / 1.748 GB, free: 8.961 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00894/3.442, allocations: 6.003 MB / 1.754 GB, free: 3.559 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/3.443, allocations: 1.727 MB / 1.755 GB, free: 2.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.282/3.725, allocations: 3.114 MB / 1.758 GB, free: 70.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/3.727, allocations: 374.7 kB / 1.759 GB, free: 70.52 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/3.727, allocations: 0 / 1.759 GB, free: 70.52 MB / 0.573 GB Notification: Performance of Templates: time 0.1064/3.833, allocations: 78.4 MB / 1.835 GB, free: 67.39 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)