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.001122/0.001122, allocations: 162.6 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.654/1.654, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001809/0.001808, allocations: 104.2 kB / 218 MB, free: 15.34 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.2659/0.2659, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.717e-05, allocations: 0 / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3877, allocations: 48.7 MB / 398.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.171/2.559, allocations: 0.6477 GB / 1.037 GB, free: 135.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/2.559, allocations: 78.38 kB / 1.037 GB, free: 135.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.348/4.908, allocations: 0.5969 GB / 1.634 GB, free: 28.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.308e-06/4.908, allocations: 0 / 1.634 GB, free: 28.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001967/4.908, allocations: 69.91 kB / 1.634 GB, free: 28.31 MB / 442.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.01083/4.919, allocations: 3.167 MB / 1.637 GB, free: 26.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/4.919, allocations: 9.312 kB / 1.637 GB, free: 26.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/4.922, allocations: 466.8 kB / 1.638 GB, free: 26.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004473/4.926, allocations: 1.98 MB / 1.64 GB, free: 25.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/4.926, allocations: 64.81 kB / 1.64 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/4.926, allocations: 103.1 kB / 1.64 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003226/4.93, allocations: 2.183 MB / 1.642 GB, free: 24.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/4.933, allocations: 2.445 MB / 1.644 GB, free: 23.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/4.933, allocations: 3.031 kB / 1.644 GB, free: 23.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/4.933, allocations: 11.48 kB / 1.644 GB, free: 23.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/4.933, allocations: 161.3 kB / 1.644 GB, free: 23.54 MB / 442.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.01367/4.947, allocations: 11.18 MB / 1.655 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/4.949, allocations: 1.75 MB / 1.657 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/4.951, allocations: 1.019 MB / 1.658 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008874/4.951, allocations: 462.1 kB / 1.659 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/4.953, allocations: 1.11 MB / 1.66 GB, free: 10.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=163): time 4.548e-06/4.953, allocations: 0 / 1.66 GB, free: 10.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.03772/4.991, allocations: 10.24 MB / 1.67 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/4.991, allocations: 257.3 kB / 1.67 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/4.993, allocations: 1.1 MB / 1.671 GB, free: 15.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/4.993, allocations: 25.7 kB / 1.671 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008754/4.994, allocations: 0.9421 MB / 1.672 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006477/4.994, allocations: 0.6236 MB / 1.672 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/4.995, allocations: 0 / 1.672 GB, free: 13.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/4.995, allocations: 398.3 kB / 1.673 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/4.996, allocations: 1.004 MB / 1.674 GB, free: 12.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/4.998, allocations: 1.488 MB / 1.675 GB, free: 10.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/5.008, allocations: 2.354 MB / 1.678 GB, free: 8.344 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/5.008, allocations: 4 kB / 1.678 GB, free: 8.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01406/5.022, allocations: 4.157 MB / 1.682 GB, free: 4.156 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0018/5.024, allocations: 4.783 MB / 1.686 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/5.024, allocations: 15.94 kB / 1.686 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/5.025, allocations: 277 kB / 1.687 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/5.027, allocations: 0.5675 MB / 1.687 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/5.03, allocations: 3.035 MB / 1.69 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/5.033, allocations: 175.6 kB / 1.69 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/5.034, allocations: 207.9 kB / 1.691 GB, free: 10.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/5.034, allocations: 4 kB / 1.691 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/5.046, allocations: 3.666 MB / 1.694 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/5.046, allocations: 12 kB / 1.694 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/5.047, allocations: 280.3 kB / 1.694 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/5.049, allocations: 0.5578 MB / 1.695 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/5.051, allocations: 3.029 MB / 1.698 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/5.054, allocations: 171.7 kB / 1.698 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/5.054, allocations: 202.8 kB / 1.698 GB, free: 2.641 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.0008781/5.055, allocations: 235.7 kB / 1.698 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/5.056, allocations: 193.7 kB / 1.699 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4099/5.466, allocations: 4.392 MB / 1.703 GB, free: 58.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/5.466, allocations: 18.78 kB / 1.703 GB, free: 58.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/5.466, allocations: 3.781 kB / 1.703 GB, free: 58.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01243/5.478, allocations: 3.74 MB / 1.707 GB, free: 58.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/5.499, allocations: 7.435 MB / 1.714 GB, free: 57.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/5.499, allocations: 6.25 kB / 1.714 GB, free: 57.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/5.501, allocations: 451.7 kB / 1.714 GB, free: 57.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/5.502, allocations: 286.7 kB / 1.715 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/5.502, allocations: 82.12 kB / 1.715 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/5.504, allocations: 3.725 MB / 1.718 GB, free: 54.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/5.504, allocations: 9.938 kB / 1.718 GB, free: 54.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/5.519, allocations: 5.549 MB / 1.724 GB, free: 53.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/5.52, allocations: 0.5248 MB / 1.724 GB, free: 53.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/5.521, allocations: 24.12 kB / 1.724 GB, free: 53.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/5.522, allocations: 99.72 kB / 1.724 GB, free: 53.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/5.522, allocations: 179.8 kB / 1.725 GB, free: 53.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/5.523, allocations: 183 kB / 1.725 GB, free: 53.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0013/5.524, allocations: 0.797 MB / 1.725 GB, free: 52.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/5.524, allocations: 2.734 kB / 1.725 GB, free: 52.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006939/5.531, allocations: 1.879 MB / 1.727 GB, free: 52.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (201): * Single equations (assignments): 194 * 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.007038/5.538, allocations: 2.822 MB / 1.73 GB, free: 52.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007393/5.545, allocations: 4.275 MB / 1.734 GB, free: 52.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/5.545, allocations: 0 / 1.734 GB, free: 52.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/5.548, allocations: 1.497 MB / 1.736 GB, free: 52.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/5.553, allocations: 0.9095 MB / 1.737 GB, free: 52.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/5.567, allocations: 5.64 MB / 1.742 GB, free: 51.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/5.568, allocations: 1.76 MB / 1.744 GB, free: 50.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006571/5.575, allocations: 1.473 MB / 1.745 GB, free: 50.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/5.576, allocations: 285.6 kB / 1.746 GB, free: 50.32 MB / 474.7 MB Notification: Performance of SimCode: time 2.555e-06/5.576, allocations: 3.25 kB / 1.746 GB, free: 50.32 MB / 474.7 MB Notification: Performance of Templates: time 0.09912/5.675, allocations: 64.44 MB / 1.808 GB, free: 44.89 MB / 474.7 MB 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)