Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007775/0.007775, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.234/1.234, allocations: 170.8 MB / 186.6 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001647/0.001647, allocations: 102.7 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2809/0.2809, allocations: 38.05 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 11.98 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.0979, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.385, allocations: 0.6811 GB / 1.083 GB, free: 20.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/1.385, allocations: 83.83 kB / 1.083 GB, free: 20.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.005/3.39, allocations: 0.5506 GB / 1.634 GB, free: 28.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.961e-06/3.39, allocations: 0 / 1.634 GB, free: 28.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004344/3.391, allocations: 57.67 kB / 1.634 GB, free: 28.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01348/3.404, allocations: 3.302 MB / 1.637 GB, free: 27.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/3.404, allocations: 8.594 kB / 1.637 GB, free: 27.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/3.408, allocations: 448.7 kB / 1.637 GB, free: 27.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/3.414, allocations: 1.945 MB / 1.639 GB, free: 26.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/3.414, allocations: 128.2 kB / 1.639 GB, free: 26.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/3.415, allocations: 167.9 kB / 1.64 GB, free: 26.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/3.419, allocations: 2.605 MB / 1.642 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/3.419, allocations: 4.719 kB / 1.642 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/3.42, allocations: 70.31 kB / 1.642 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/3.42, allocations: 155.9 kB / 1.642 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/3.423, allocations: 2.23 MB / 1.644 GB, free: 26.41 MB / 458.7 MB 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.01392/3.437, allocations: 10.93 MB / 1.655 GB, free: 20.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/3.44, allocations: 1.796 MB / 1.657 GB, free: 20.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008082/3.44, allocations: 455.4 kB / 1.657 GB, free: 20 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/3.442, allocations: 1.165 MB / 1.658 GB, free: 19.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 4.538e-06/3.442, allocations: 0 / 1.658 GB, free: 19.88 MB / 458.7 MB 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=181): time 0.02383/3.466, allocations: 10.96 MB / 1.669 GB, free: 17.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/3.466, allocations: 263.8 kB / 1.669 GB, free: 17.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/3.468, allocations: 1.342 MB / 1.671 GB, free: 17.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/3.468, allocations: 62.45 kB / 1.671 GB, free: 17.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/3.468, allocations: 0.8683 MB / 1.672 GB, free: 17.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/3.469, allocations: 0.6106 MB / 1.672 GB, free: 16.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/3.469, allocations: 46.19 kB / 1.672 GB, free: 16.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/3.469, allocations: 384.1 kB / 1.673 GB, free: 16.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/3.471, allocations: 1.026 MB / 1.674 GB, free: 16.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/3.473, allocations: 1.467 MB / 1.675 GB, free: 16.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/3.475, allocations: 1.293 MB / 1.676 GB, free: 15.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/3.475, allocations: 3.844 kB / 1.676 GB, free: 15.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005259/3.48, allocations: 3.113 MB / 1.679 GB, free: 15.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001583/3.482, allocations: 4.284 MB / 1.684 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/3.482, allocations: 11.69 kB / 1.684 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/3.482, allocations: 191.6 kB / 1.684 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/3.484, allocations: 0.5462 MB / 1.684 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/3.486, allocations: 2.334 MB / 1.687 GB, free: 25.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/3.489, allocations: 208 kB / 1.687 GB, free: 25.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/3.489, allocations: 190 kB / 1.687 GB, free: 25.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/3.489, allocations: 3.75 kB / 1.687 GB, free: 25.04 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004544/3.493, allocations: 2.842 MB / 1.69 GB, free: 24.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/3.494, allocations: 14.33 kB / 1.69 GB, free: 24.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/3.494, allocations: 191.6 kB / 1.69 GB, free: 24.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/3.496, allocations: 0.534 MB / 1.69 GB, free: 24.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/3.497, allocations: 2.334 MB / 1.693 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/3.5, allocations: 204.4 kB / 1.693 GB, free: 22.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/3.5, allocations: 186.5 kB / 1.693 GB, free: 22.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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.001471/3.501, allocations: 0.6869 MB / 1.694 GB, free: 22.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/3.502, allocations: 206.1 kB / 1.694 GB, free: 22.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/3.508, allocations: 3.542 MB / 1.697 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/3.508, allocations: 25.48 kB / 1.697 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/3.508, allocations: 0 / 1.697 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00345/3.512, allocations: 2.776 MB / 1.7 GB, free: 21.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/3.522, allocations: 6.923 MB / 1.707 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/3.523, allocations: 6 kB / 1.707 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/3.524, allocations: 445.5 kB / 1.707 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/3.525, allocations: 185.8 kB / 1.708 GB, free: 20.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/3.525, allocations: 102.9 kB / 1.708 GB, free: 20.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/3.527, allocations: 3.078 MB / 1.711 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/3.527, allocations: 11.59 kB / 1.711 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/3.532, allocations: 4.731 MB / 1.715 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/3.534, allocations: 0.5186 MB / 1.716 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/3.534, allocations: 68.48 kB / 1.716 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/3.536, allocations: 132.4 kB / 1.716 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/3.536, allocations: 175.6 kB / 1.716 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/3.537, allocations: 164.9 kB / 1.716 GB, free: 15.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001569/3.538, allocations: 1.021 MB / 1.717 GB, free: 15.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.91e-07/3.538, allocations: 0 / 1.717 GB, free: 15.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006407/3.545, allocations: 1.948 MB / 1.719 GB, free: 15.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * 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.00558/3.55, allocations: 2.437 MB / 1.722 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006979/3.557, allocations: 4.278 MB / 1.726 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/3.557, allocations: 0 / 1.726 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/3.559, allocations: 1.513 MB / 1.727 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/3.564, allocations: 0.9137 MB / 1.728 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/3.577, allocations: 7.095 MB / 1.735 GB, free: 12.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/3.579, allocations: 1.713 MB / 1.737 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005267/3.584, allocations: 1.35 MB / 1.738 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/3.585, allocations: 305.9 kB / 1.738 GB, free: 11.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.522e-06/3.585, allocations: 4 kB / 1.738 GB, free: 11.17 MB / 474.7 MB Notification: Performance of Templates: time 0.1012/3.686, allocations: 70.7 MB / 1.807 GB, free: 132 kB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)