Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001346/0.001346, allocations: 169.5 kB / 12.72 MB, free: 2.594 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.622/1.622, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001872/0.001872, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.2176/0.2176, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.504e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.717/1.824, allocations: 0.6484 GB / 1.045 GB, free: 102.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.824, allocations: 79.95 kB / 1.045 GB, free: 102.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054/3.879, allocations: 0.6031 GB / 1.648 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/3.879, allocations: 0 / 1.648 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002343/3.879, allocations: 63.92 kB / 1.648 GB, free: 0.543 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01146/3.891, allocations: 3.169 MB / 1.651 GB, free: 13.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/3.891, allocations: 8.031 kB / 1.651 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/3.894, allocations: 464.6 kB / 1.651 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/3.9, allocations: 1.989 MB / 1.653 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/3.901, allocations: 135.2 kB / 1.653 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006131/3.901, allocations: 172 kB / 1.654 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/3.906, allocations: 2.686 MB / 1.656 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/3.906, allocations: 4 kB / 1.656 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/3.907, allocations: 75.91 kB / 1.656 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/3.907, allocations: 159.1 kB / 1.656 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/3.911, allocations: 2.261 MB / 1.659 GB, free: 5.145 MB / 474.7 MB 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.3195/4.231, allocations: 11.51 MB / 1.67 GB, free: 36.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/4.234, allocations: 1.822 MB / 1.672 GB, free: 35.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/4.236, allocations: 1.07 MB / 1.673 GB, free: 35.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/4.237, allocations: 462.5 kB / 1.673 GB, free: 35.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00251/4.24, allocations: 1.187 MB / 1.674 GB, free: 35.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=168): time 5.66e-06/4.24, allocations: 2.812 kB / 1.674 GB, free: 35.29 MB / 474.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: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.03086/4.27, allocations: 9.532 MB / 1.684 GB, free: 34.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/4.271, allocations: 257.9 kB / 1.684 GB, free: 33.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/4.273, allocations: 1.382 MB / 1.685 GB, free: 33.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/4.273, allocations: 63.83 kB / 1.685 GB, free: 33.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/4.274, allocations: 0.9221 MB / 1.686 GB, free: 33.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006457/4.275, allocations: 0.6642 MB / 1.687 GB, free: 33.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/4.275, allocations: 45.06 kB / 1.687 GB, free: 33.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/4.275, allocations: 393.1 kB / 1.687 GB, free: 32.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/4.277, allocations: 1.03 MB / 1.688 GB, free: 32.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/4.279, allocations: 1.514 MB / 1.69 GB, free: 32.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/4.281, allocations: 1.317 MB / 1.691 GB, free: 32.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/4.281, allocations: 4.875 kB / 1.691 GB, free: 32.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005721/4.287, allocations: 3.265 MB / 1.694 GB, free: 31.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001003/4.288, allocations: 4.846 MB / 1.699 GB, free: 26.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/4.288, allocations: 13.09 kB / 1.699 GB, free: 26.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/4.288, allocations: 303.1 kB / 1.699 GB, free: 26.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/4.291, allocations: 0.5647 MB / 1.7 GB, free: 26.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/4.292, allocations: 3 MB / 1.703 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/4.295, allocations: 217.7 kB / 1.703 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/4.295, allocations: 208.5 kB / 1.703 GB, free: 24.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/4.295, allocations: 3.062 kB / 1.703 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/4.301, allocations: 2.984 MB / 1.706 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/4.301, allocations: 10.75 kB / 1.706 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/4.301, allocations: 301.9 kB / 1.706 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/4.303, allocations: 0.5597 MB / 1.707 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/4.305, allocations: 3.002 MB / 1.71 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/4.308, allocations: 215.6 kB / 1.71 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006009/4.309, allocations: 206.5 kB / 1.71 GB, free: 21.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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.0009614/4.31, allocations: 298.8 kB / 1.711 GB, free: 21.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/4.31, allocations: 220.8 kB / 1.711 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008293/4.319, allocations: 3.744 MB / 1.714 GB, free: 20.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/4.319, allocations: 25.33 kB / 1.714 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/4.319, allocations: 0 / 1.714 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004069/4.323, allocations: 2.902 MB / 1.717 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/4.335, allocations: 6.989 MB / 1.724 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/4.335, allocations: 3.75 kB / 1.724 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/4.337, allocations: 461.6 kB / 1.725 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008033/4.337, allocations: 321.9 kB / 1.725 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/4.338, allocations: 110 kB / 1.725 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/4.34, allocations: 3.749 MB / 1.729 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/4.34, allocations: 8.438 kB / 1.729 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006612/4.346, allocations: 4.877 MB / 1.733 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/4.348, allocations: 0.5462 MB / 1.734 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/4.348, allocations: 56.06 kB / 1.734 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/4.35, allocations: 135.8 kB / 1.734 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/4.35, allocations: 191.7 kB / 1.734 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/4.35, allocations: 187.6 kB / 1.734 GB, free: 14.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001338/4.352, allocations: 1.038 MB / 1.735 GB, free: 14.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.352e-06/4.352, allocations: 3.094 kB / 1.735 GB, free: 14.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006347/4.358, allocations: 2.054 MB / 1.737 GB, free: 14.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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.006949/4.365, allocations: 2.58 MB / 1.74 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006917/4.372, allocations: 4.474 MB / 1.744 GB, free: 29.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/4.372, allocations: 0.5 kB / 1.744 GB, free: 29.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/4.374, allocations: 1.579 MB / 1.746 GB, free: 29.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004721/4.379, allocations: 1.041 MB / 1.747 GB, free: 29.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/4.391, allocations: 5.701 MB / 1.752 GB, free: 28.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/4.393, allocations: 1.767 MB / 1.754 GB, free: 27.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00578/4.398, allocations: 1.574 MB / 1.756 GB, free: 27.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/4.399, allocations: 301.7 kB / 1.756 GB, free: 27.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/4.399, allocations: 0 / 1.756 GB, free: 27.44 MB / 490.7 MB Notification: Performance of Templates: time 0.1081/4.508, allocations: 84.96 MB / 1.839 GB, free: 11.92 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)