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.009617/0.009617, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.136/1.136, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.00162/0.00162, allocations: 114.6 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.3085/0.3085, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09066, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.365, allocations: 0.6812 GB / 1.083 GB, free: 20.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/1.366, allocations: 84.28 kB / 1.083 GB, free: 20.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.135/3.501, allocations: 0.6153 GB / 1.699 GB, free: 26.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/3.501, allocations: 0 / 1.699 GB, free: 26.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000182/3.501, allocations: 71.52 kB / 1.699 GB, free: 26.05 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.00978/3.511, allocations: 3.475 MB / 1.702 GB, free: 24.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/3.511, allocations: 13.06 kB / 1.702 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/3.514, allocations: 465.4 kB / 1.702 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/3.519, allocations: 1.999 MB / 1.704 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/3.519, allocations: 138.1 kB / 1.705 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/3.52, allocations: 177.9 kB / 1.705 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/3.524, allocations: 2.735 MB / 1.707 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/3.524, allocations: 5.312 kB / 1.707 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/3.524, allocations: 86.39 kB / 1.707 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/3.524, allocations: 150.7 kB / 1.708 GB, free: 23.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/3.527, allocations: 2.34 MB / 1.71 GB, free: 23.46 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.01362/3.541, allocations: 11.51 MB / 1.721 GB, free: 17.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/3.544, allocations: 1.863 MB / 1.723 GB, free: 16.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/3.545, allocations: 465 kB / 1.723 GB, free: 16.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/3.546, allocations: 1.209 MB / 1.725 GB, free: 16.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 4.168e-06/3.546, allocations: 3.5 kB / 1.725 GB, free: 16.5 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.02684/3.573, allocations: 12.18 MB / 1.736 GB, free: 14.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/3.573, allocations: 268.1 kB / 1.737 GB, free: 14.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/3.575, allocations: 1.401 MB / 1.738 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/3.575, allocations: 64.67 kB / 1.738 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/3.576, allocations: 0.9129 MB / 1.739 GB, free: 13.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/3.576, allocations: 0.6655 MB / 1.74 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/3.577, allocations: 47.09 kB / 1.74 GB, free: 13.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/3.577, allocations: 391.9 kB / 1.74 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/3.578, allocations: 1.08 MB / 1.741 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/3.58, allocations: 1.567 MB / 1.743 GB, free: 12.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/3.582, allocations: 1.357 MB / 1.744 GB, free: 12.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/3.582, allocations: 2.969 kB / 1.744 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00506/3.587, allocations: 3.358 MB / 1.747 GB, free: 11.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001749/3.589, allocations: 4.834 MB / 1.752 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/3.589, allocations: 11.06 kB / 1.752 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008003/3.59, allocations: 306 kB / 1.752 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/3.592, allocations: 0.5715 MB / 1.753 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/3.594, allocations: 3.015 MB / 1.756 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/3.597, allocations: 210 kB / 1.756 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/3.598, allocations: 205.9 kB / 1.756 GB, free: 20.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/3.598, allocations: 6.281 kB / 1.756 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004917/3.603, allocations: 3.076 MB / 1.759 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/3.603, allocations: 10 kB / 1.759 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/3.603, allocations: 297.1 kB / 1.76 GB, free: 19.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/3.606, allocations: 0.5658 MB / 1.76 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/3.608, allocations: 3.015 MB / 1.763 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/3.61, allocations: 219.2 kB / 1.763 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/3.61, allocations: 200 kB / 1.763 GB, free: 16.27 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 () * Number of clocked 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.001667/3.612, allocations: 0.698 MB / 1.764 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/3.613, allocations: 220.3 kB / 1.764 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/3.62, allocations: 3.817 MB / 1.768 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/3.62, allocations: 20.72 kB / 1.768 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/3.62, allocations: 0 / 1.768 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004343/3.625, allocations: 2.971 MB / 1.771 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/3.639, allocations: 7.056 MB / 1.778 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/3.639, allocations: 6.688 kB / 1.778 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/3.641, allocations: 460.7 kB / 1.778 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/3.642, allocations: 321.2 kB / 1.779 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/3.642, allocations: 109.5 kB / 1.779 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/3.645, allocations: 3.755 MB / 1.782 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/3.645, allocations: 15.81 kB / 1.782 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008868/3.654, allocations: 4.967 MB / 1.787 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/3.656, allocations: 0.5486 MB / 1.788 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007881/3.657, allocations: 59.38 kB / 1.788 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/3.659, allocations: 136.2 kB / 1.788 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/3.66, allocations: 186.1 kB / 1.788 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003765/3.66, allocations: 181.3 kB / 1.788 GB, free: 0.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002171/3.662, allocations: 1.054 MB / 1.789 GB, free: 8 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/3.662, allocations: 0 / 1.789 GB, free: 8 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01016/3.672, allocations: 2.145 MB / 1.791 GB, free: 14.2 MB / 490.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) * Number of clocked states: 0 () * 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.00872/3.681, allocations: 2.583 MB / 1.794 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/3.691, allocations: 4.534 MB / 1.798 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/3.691, allocations: 4.125 kB / 1.798 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00311/3.694, allocations: 1.617 MB / 1.8 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/3.7, allocations: 1.048 MB / 1.801 GB, free: 6.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/3.98, allocations: 7.418 MB / 1.808 GB, free: 52.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/3.982, allocations: 1.758 MB / 1.81 GB, free: 51.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006161/3.989, allocations: 1.398 MB / 1.811 GB, free: 51.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/3.99, allocations: 326.7 kB / 1.812 GB, free: 51.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/3.99, allocations: 3.5 kB / 1.812 GB, free: 51.68 MB / 490.7 MB Notification: Performance of Templates: time 0.111/4.101, allocations: 77.16 MB / 1.887 GB, free: 47.38 MB / 490.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)