Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001537/0.001537, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.88/1.88, allocations: 194.3 MB / 202.4 MB, free: 8.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001817/0.001817, allocations: 119 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2614/0.2614, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.991e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1533, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.18/2.334, allocations: 0.6544 GB / 1.092 GB, free: 97.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/2.334, allocations: 80.84 kB / 1.092 GB, free: 97.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.527/4.861, allocations: 0.5972 GB / 1.689 GB, free: 33.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/4.861, allocations: 0 / 1.689 GB, free: 33.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002135/4.862, allocations: 65.7 kB / 1.689 GB, free: 33.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.0124/4.874, allocations: 3.183 MB / 1.692 GB, free: 31.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/4.874, allocations: 7 kB / 1.692 GB, free: 31.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/4.878, allocations: 460 kB / 1.693 GB, free: 31.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/4.884, allocations: 2.005 MB / 1.695 GB, free: 30.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/4.884, allocations: 58.69 kB / 1.695 GB, free: 30.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/4.884, allocations: 102.7 kB / 1.695 GB, free: 30.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003503/4.888, allocations: 2.195 MB / 1.697 GB, free: 28.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/4.891, allocations: 2.456 MB / 1.7 GB, free: 26.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/4.891, allocations: 11.91 kB / 1.7 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/4.892, allocations: 4 kB / 1.7 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/4.892, allocations: 159.1 kB / 1.7 GB, free: 26.09 MB / 490.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.01408/4.906, allocations: 11.22 MB / 1.711 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/4.908, allocations: 1.746 MB / 1.712 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/4.909, allocations: 1.036 MB / 1.713 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/4.91, allocations: 464.6 kB / 1.714 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/4.912, allocations: 1.119 MB / 1.715 GB, free: 9.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=167): time 3.848e-06/4.912, allocations: 0 / 1.715 GB, free: 9.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.03805/4.95, allocations: 10.25 MB / 1.725 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/4.95, allocations: 257.3 kB / 1.725 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/4.952, allocations: 1.094 MB / 1.726 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/4.952, allocations: 33.7 kB / 1.726 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009718/4.953, allocations: 0.9442 MB / 1.727 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006666/4.954, allocations: 0.6351 MB / 1.728 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/4.954, allocations: 0 / 1.728 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002051/4.954, allocations: 402.4 kB / 1.728 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/4.956, allocations: 1.012 MB / 1.729 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/4.958, allocations: 1.484 MB / 1.731 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/4.967, allocations: 2.373 MB / 1.733 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/4.967, allocations: 4 kB / 1.733 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01375/4.981, allocations: 4.126 MB / 1.737 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002182/4.983, allocations: 4.781 MB / 1.742 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/4.983, allocations: 12 kB / 1.742 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007621/4.984, allocations: 276.1 kB / 1.742 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/4.986, allocations: 0.5695 MB / 1.743 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/4.989, allocations: 3.03 MB / 1.745 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/4.992, allocations: 175.8 kB / 1.746 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/4.993, allocations: 208 kB / 1.746 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/4.993, allocations: 4 kB / 1.746 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01419/5.007, allocations: 3.642 MB / 1.749 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/5.007, allocations: 15.98 kB / 1.749 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00072/5.008, allocations: 280.7 kB / 1.75 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/5.01, allocations: 0.5617 MB / 1.75 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/5.013, allocations: 3.031 MB / 1.753 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/5.017, allocations: 175.7 kB / 1.753 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008676/5.018, allocations: 203.9 kB / 1.754 GB, free: 1.266 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.001629/5.019, allocations: 239 kB / 1.754 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/5.021, allocations: 201.6 kB / 1.754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4432/5.464, allocations: 4.344 MB / 1.758 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/5.464, allocations: 20.25 kB / 1.758 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/5.464, allocations: 4.062 kB / 1.758 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01376/5.478, allocations: 3.724 MB / 1.762 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/5.498, allocations: 7.455 MB / 1.769 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/5.498, allocations: 3.781 kB / 1.769 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/5.5, allocations: 448.8 kB / 1.77 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008609/5.501, allocations: 292.3 kB / 1.77 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/5.501, allocations: 85.56 kB / 1.77 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/5.504, allocations: 3.717 MB / 1.774 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/5.504, allocations: 9.75 kB / 1.774 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/5.519, allocations: 5.556 MB / 1.779 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/5.521, allocations: 0.5279 MB / 1.78 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/5.521, allocations: 26.41 kB / 1.78 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/5.522, allocations: 95.14 kB / 1.78 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/5.523, allocations: 180.2 kB / 1.78 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/5.523, allocations: 188.8 kB / 1.78 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001178/5.524, allocations: 0.7918 MB / 1.781 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/5.524, allocations: 2.5 kB / 1.781 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006803/5.531, allocations: 1.895 MB / 1.783 GB, free: 58.44 MB / 0.5105 GB 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: 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 (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.00649/5.537, allocations: 2.825 MB / 1.785 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006953/5.544, allocations: 4.389 MB / 1.79 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/5.544, allocations: 2.344 kB / 1.79 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/5.547, allocations: 1.552 MB / 1.791 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/5.551, allocations: 0.9089 MB / 1.792 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/5.563, allocations: 5.677 MB / 1.798 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/5.565, allocations: 1.764 MB / 1.799 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006003/5.571, allocations: 1.475 MB / 1.801 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/5.572, allocations: 290.2 kB / 1.801 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.713e-06/5.572, allocations: 0 / 1.801 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.09876/5.67, allocations: 64.81 MB / 1.864 GB, free: 51.02 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)