Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,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.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,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.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001316, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009504, allocations: 87.97 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.475e-05/4.521e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 63.25 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.599, allocations: 0.5624 GB / 1.074 GB, free: 117 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.599, allocations: 75.97 kB / 1.074 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/3.338, allocations: 0.5078 GB / 1.582 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.314e-06/3.338, allocations: 4 kB / 1.582 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002559/3.338, allocations: 59.92 kB / 1.582 GB, free: 22.69 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.009231/3.348, allocations: 2.805 MB / 1.584 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/3.348, allocations: 12.03 kB / 1.584 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/3.351, allocations: 440.8 kB / 1.585 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/3.356, allocations: 1.933 MB / 1.587 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/3.356, allocations: 139 kB / 1.587 GB, free: 17.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/3.357, allocations: 167.8 kB / 1.587 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/3.362, allocations: 2.601 MB / 1.59 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/3.362, allocations: 7.938 kB / 1.59 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/3.362, allocations: 71.97 kB / 1.59 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/3.362, allocations: 155 kB / 1.59 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/3.366, allocations: 2.194 MB / 1.592 GB, free: 11.9 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.01407/3.38, allocations: 11.1 MB / 1.603 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/3.383, allocations: 1.775 MB / 1.605 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/3.385, allocations: 1.044 MB / 1.606 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/3.385, allocations: 0.5105 MB / 1.606 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/3.387, allocations: 1.279 MB / 1.607 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=162): time 3.567e-06/3.387, allocations: 0 / 1.607 GB, free: 11.19 MB / 0.5573 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02247/3.41, allocations: 8.702 MB / 1.616 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/3.41, allocations: 368.1 kB / 1.616 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/3.413, allocations: 1.4 MB / 1.618 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/3.413, allocations: 61.7 kB / 1.618 GB, free: 472 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.3421/3.755, allocations: 0.8669 MB / 1.618 GB, free: 61.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/3.757, allocations: 0.6218 MB / 1.619 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/3.757, allocations: 38.16 kB / 1.619 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001942/3.757, allocations: 388.6 kB / 1.619 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/3.759, allocations: 1.001 MB / 1.62 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/3.761, allocations: 1.438 MB / 1.622 GB, free: 60.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/3.763, allocations: 1.266 MB / 1.623 GB, free: 60.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/3.763, allocations: 6.453 kB / 1.623 GB, free: 60.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005177/3.768, allocations: 3.08 MB / 1.626 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007576/3.769, allocations: 3.77 MB / 1.63 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/3.769, allocations: 9.844 kB / 1.63 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/3.769, allocations: 189.2 kB / 1.63 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/3.772, allocations: 0.5457 MB / 1.63 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/3.773, allocations: 2.326 MB / 1.633 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/3.776, allocations: 215.4 kB / 1.633 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/3.776, allocations: 190.1 kB / 1.633 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/3.776, allocations: 4.5 kB / 1.633 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004563/3.781, allocations: 2.814 MB / 1.636 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/3.781, allocations: 7.156 kB / 1.636 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/3.781, allocations: 184.6 kB / 1.636 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/3.783, allocations: 0.535 MB / 1.637 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/3.785, allocations: 2.325 MB / 1.639 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/3.787, allocations: 218.7 kB / 1.639 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/3.787, allocations: 183.9 kB / 1.639 GB, free: 51.93 MB / 0.5573 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 () * 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.0009267/3.788, allocations: 293.2 kB / 1.64 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/3.789, allocations: 219.4 kB / 1.64 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/3.8, allocations: 4.604 MB / 1.644 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/3.8, allocations: 20.06 kB / 1.644 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/3.8, allocations: 0 / 1.644 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004116/3.804, allocations: 2.74 MB / 1.647 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/3.816, allocations: 6.996 MB / 1.654 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/3.816, allocations: 4.562 kB / 1.654 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/3.818, allocations: 438.5 kB / 1.654 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/3.818, allocations: 189 kB / 1.654 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/3.819, allocations: 99.62 kB / 1.654 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/3.82, allocations: 3.068 MB / 1.657 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/3.82, allocations: 12.91 kB / 1.657 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/3.826, allocations: 4.719 MB / 1.662 GB, free: 45.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/3.828, allocations: 0.5374 MB / 1.663 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/3.828, allocations: 62.34 kB / 1.663 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/3.83, allocations: 134.4 kB / 1.663 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/3.83, allocations: 169.3 kB / 1.663 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/3.83, allocations: 162.2 kB / 1.663 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001542/3.832, allocations: 1.087 MB / 1.664 GB, free: 44.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.62e-07/3.832, allocations: 0 / 1.664 GB, free: 44.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00593/3.838, allocations: 1.813 MB / 1.666 GB, free: 44.63 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) * 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.004809/3.843, allocations: 2.155 MB / 1.668 GB, free: 44.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00644/3.849, allocations: 4.317 MB / 1.672 GB, free: 44.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/3.849, allocations: 2.75 kB / 1.672 GB, free: 44.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/3.851, allocations: 1.507 MB / 1.674 GB, free: 43.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/3.856, allocations: 0.9822 MB / 1.675 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/3.862, allocations: 4.094 MB / 1.679 GB, free: 42.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/3.863, allocations: 1.722 MB / 1.68 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006671/3.87, allocations: 3.226 MB / 1.684 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/3.871, allocations: 319.9 kB / 1.684 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/3.871, allocations: 0 / 1.684 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.09729/3.968, allocations: 77.98 MB / 1.76 GB, free: 36.97 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)