Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 102 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.641e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1677, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/1.874, allocations: 0.5614 GB / 1.063 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.874, allocations: 74.84 kB / 1.063 GB, free: 58.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.468/4.342, allocations: 0.5061 GB / 1.569 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/4.342, allocations: 0 / 1.569 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000278/4.342, allocations: 63.73 kB / 1.569 GB, free: 51.45 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.01359/4.356, allocations: 2.798 MB / 1.572 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.325e-05/4.356, allocations: 9.844 kB / 1.572 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/4.361, allocations: 445.2 kB / 1.572 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006388/4.367, allocations: 1.934 MB / 1.574 GB, free: 50.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/4.367, allocations: 133.8 kB / 1.574 GB, free: 50.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/4.368, allocations: 164.7 kB / 1.575 GB, free: 50.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/4.372, allocations: 2.596 MB / 1.577 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/4.373, allocations: 4.844 kB / 1.577 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/4.373, allocations: 76.62 kB / 1.577 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/4.373, allocations: 153.5 kB / 1.577 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/4.377, allocations: 2.195 MB / 1.58 GB, free: 49.57 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.01517/4.392, allocations: 11.03 MB / 1.59 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/4.395, allocations: 1.768 MB / 1.592 GB, free: 43.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/4.396, allocations: 1.052 MB / 1.593 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009068/4.397, allocations: 0.5055 MB / 1.594 GB, free: 42.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/4.399, allocations: 1.289 MB / 1.595 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 4.468e-06/4.399, allocations: 0 / 1.595 GB, free: 42.78 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02162/4.421, allocations: 8.685 MB / 1.603 GB, free: 41.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/4.421, allocations: 368.3 kB / 1.604 GB, free: 41.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/4.423, allocations: 1.397 MB / 1.605 GB, free: 41.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003037/4.423, allocations: 58.45 kB / 1.605 GB, free: 41.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/4.424, allocations: 0.8738 MB / 1.606 GB, free: 40.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/4.425, allocations: 0.6269 MB / 1.607 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/4.425, allocations: 43.5 kB / 1.607 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001323/4.425, allocations: 386.6 kB / 1.607 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/4.426, allocations: 0.9989 MB / 1.608 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/4.428, allocations: 1.435 MB / 1.609 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/4.43, allocations: 1.274 MB / 1.611 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/4.43, allocations: 3.781 kB / 1.611 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005066/4.435, allocations: 3.082 MB / 1.614 GB, free: 39.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009594/4.436, allocations: 3.767 MB / 1.617 GB, free: 35.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/4.436, allocations: 16.31 kB / 1.617 GB, free: 35.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/4.437, allocations: 187.2 kB / 1.617 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/4.439, allocations: 0.5403 MB / 1.618 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/4.44, allocations: 2.331 MB / 1.62 GB, free: 33.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/4.443, allocations: 209.9 kB / 1.62 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/4.443, allocations: 190.7 kB / 1.621 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/4.444, allocations: 4.719 kB / 1.621 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004387/4.448, allocations: 2.806 MB / 1.623 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/4.448, allocations: 13.73 kB / 1.623 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/4.448, allocations: 187.1 kB / 1.624 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/4.45, allocations: 0.5296 MB / 1.624 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/4.452, allocations: 2.333 MB / 1.626 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/4.454, allocations: 215.4 kB / 1.627 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/4.455, allocations: 184.1 kB / 1.627 GB, free: 30.9 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 () * 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.0009596/4.456, allocations: 289.6 kB / 1.627 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/4.456, allocations: 221.5 kB / 1.627 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007981/4.464, allocations: 4.612 MB / 1.632 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/4.464, allocations: 20.44 kB / 1.632 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/4.464, allocations: 0 / 1.632 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/4.468, allocations: 2.736 MB / 1.634 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/4.48, allocations: 6.994 MB / 1.641 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/4.48, allocations: 7.625 kB / 1.641 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/4.482, allocations: 437.5 kB / 1.642 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/4.483, allocations: 188.7 kB / 1.642 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/4.483, allocations: 101.9 kB / 1.642 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/4.485, allocations: 3.071 MB / 1.645 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/4.485, allocations: 9.969 kB / 1.645 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007249/4.492, allocations: 4.721 MB / 1.65 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/4.494, allocations: 0.542 MB / 1.65 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/4.494, allocations: 59.64 kB / 1.65 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/4.496, allocations: 126.7 kB / 1.65 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/4.496, allocations: 181.4 kB / 1.65 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/4.497, allocations: 164.1 kB / 1.651 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001982/4.499, allocations: 1.086 MB / 1.652 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/4.499, allocations: 0 / 1.652 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008639/4.507, allocations: 1.801 MB / 1.653 GB, free: 23.34 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) * 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.006865/4.514, allocations: 2.127 MB / 1.655 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008397/4.523, allocations: 4.312 MB / 1.66 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/4.523, allocations: 3.75 kB / 1.66 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/4.525, allocations: 1.508 MB / 1.661 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00606/4.531, allocations: 0.9871 MB / 1.662 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/4.541, allocations: 4.09 MB / 1.666 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/4.542, allocations: 1.728 MB / 1.668 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008458/4.551, allocations: 3.214 MB / 1.671 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/4.552, allocations: 326.3 kB / 1.671 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.256e-06/4.552, allocations: 0 / 1.671 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1301/4.682, allocations: 77.92 MB / 1.747 GB, free: 0.8555 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)