Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008545/0.008545, allocations: 165 kB / 15.11 MB, free: 5.582 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.195/1.195, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001617/0.001617, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.3068/0.3068, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 16 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.471, allocations: 0.6811 GB / 1.083 GB, free: 33.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.471, allocations: 79.97 kB / 1.083 GB, free: 33.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.126/3.597, allocations: 0.5505 GB / 1.634 GB, free: 30.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/3.597, allocations: 0 / 1.634 GB, free: 30.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003452/3.597, allocations: 61.22 kB / 1.634 GB, free: 30.54 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.01213/3.609, allocations: 3.294 MB / 1.637 GB, free: 29.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/3.609, allocations: 10.12 kB / 1.637 GB, free: 29.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/3.613, allocations: 442.5 kB / 1.637 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/3.619, allocations: 1.951 MB / 1.639 GB, free: 29.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/3.62, allocations: 125.4 kB / 1.639 GB, free: 29.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007336/3.62, allocations: 165.4 kB / 1.64 GB, free: 29.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/3.625, allocations: 2.611 MB / 1.642 GB, free: 28.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/3.625, allocations: 5.031 kB / 1.642 GB, free: 28.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/3.625, allocations: 72.28 kB / 1.642 GB, free: 28.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/3.626, allocations: 152.8 kB / 1.642 GB, free: 28.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/3.629, allocations: 2.234 MB / 1.644 GB, free: 28.97 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.01388/3.643, allocations: 10.93 MB / 1.655 GB, free: 23.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/3.646, allocations: 1.802 MB / 1.657 GB, free: 22.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/3.647, allocations: 457.5 kB / 1.657 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/3.648, allocations: 1.159 MB / 1.658 GB, free: 22.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 3.607e-06/3.648, allocations: 0 / 1.658 GB, free: 22.45 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.02402/3.672, allocations: 10.96 MB / 1.669 GB, free: 20.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/3.672, allocations: 257.4 kB / 1.669 GB, free: 20.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/3.674, allocations: 1.343 MB / 1.671 GB, free: 20.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003021/3.675, allocations: 59.55 kB / 1.671 GB, free: 20.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/3.675, allocations: 0.8748 MB / 1.672 GB, free: 19.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/3.676, allocations: 0.611 MB / 1.672 GB, free: 19.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/3.676, allocations: 44.31 kB / 1.672 GB, free: 19.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/3.676, allocations: 387.1 kB / 1.673 GB, free: 19.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/3.678, allocations: 1.022 MB / 1.674 GB, free: 19.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/3.68, allocations: 1.468 MB / 1.675 GB, free: 18.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/3.682, allocations: 1.297 MB / 1.676 GB, free: 18.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/3.682, allocations: 3.5 kB / 1.676 GB, free: 18.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004904/3.687, allocations: 3.108 MB / 1.679 GB, free: 18.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000731/3.687, allocations: 4.287 MB / 1.684 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/3.687, allocations: 12.66 kB / 1.684 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/3.688, allocations: 192.3 kB / 1.684 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/3.69, allocations: 0.5468 MB / 1.684 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/3.692, allocations: 2.33 MB / 1.687 GB, free: 27.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/3.695, allocations: 212.2 kB / 1.687 GB, free: 27.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/3.695, allocations: 190.9 kB / 1.687 GB, free: 27.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/3.695, allocations: 3.688 kB / 1.687 GB, free: 27.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00471/3.7, allocations: 2.84 MB / 1.69 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/3.7, allocations: 13.86 kB / 1.69 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/3.7, allocations: 191.4 kB / 1.69 GB, free: 27.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/3.703, allocations: 0.5316 MB / 1.69 GB, free: 27.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/3.704, allocations: 2.325 MB / 1.693 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/3.707, allocations: 205.9 kB / 1.693 GB, free: 25.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/3.707, allocations: 193.2 kB / 1.693 GB, free: 25.45 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.001419/3.708, allocations: 0.6862 MB / 1.694 GB, free: 25.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/3.709, allocations: 207.9 kB / 1.694 GB, free: 25.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007355/3.716, allocations: 3.54 MB / 1.697 GB, free: 24.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/3.716, allocations: 24.83 kB / 1.697 GB, free: 24.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/3.716, allocations: 0 / 1.697 GB, free: 24.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003628/3.72, allocations: 2.777 MB / 1.7 GB, free: 24.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/3.732, allocations: 6.923 MB / 1.707 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/3.732, allocations: 6.969 kB / 1.707 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/3.734, allocations: 446 kB / 1.707 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/3.734, allocations: 188.7 kB / 1.708 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/3.734, allocations: 100.3 kB / 1.708 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/3.736, allocations: 3.081 MB / 1.711 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/3.736, allocations: 11.06 kB / 1.711 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/3.743, allocations: 4.726 MB / 1.715 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/3.745, allocations: 0.5226 MB / 1.716 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/3.745, allocations: 62.33 kB / 1.716 GB, free: 18.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/3.747, allocations: 131.5 kB / 1.716 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/3.747, allocations: 172.8 kB / 1.716 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/3.747, allocations: 169.4 kB / 1.716 GB, free: 18.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001438/3.749, allocations: 1.02 MB / 1.717 GB, free: 18.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/3.749, allocations: 0 / 1.717 GB, free: 18.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007252/3.756, allocations: 1.951 MB / 1.719 GB, free: 18.13 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.00656/3.763, allocations: 2.431 MB / 1.722 GB, free: 17.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007441/3.77, allocations: 4.277 MB / 1.726 GB, free: 17.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/3.77, allocations: 4.75 kB / 1.726 GB, free: 17.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/3.773, allocations: 1.517 MB / 1.727 GB, free: 17.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/3.778, allocations: 0.9181 MB / 1.728 GB, free: 17.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/3.792, allocations: 7.082 MB / 1.735 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/3.793, allocations: 1.714 MB / 1.737 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005545/3.799, allocations: 1.358 MB / 1.738 GB, free: 14.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/3.8, allocations: 311.6 kB / 1.738 GB, free: 14.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.904e-06/3.8, allocations: 0 / 1.738 GB, free: 14.05 MB / 474.7 MB Notification: Performance of Templates: time 0.09938/3.899, allocations: 70.69 MB / 1.807 GB, free: 7.684 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)