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.002528/0.002527, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.3 MB / 207.5 MB, free: 3.441 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.001695/0.001695, allocations: 107.2 kB / 252.6 MB, free: 4.809 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.2532/0.2532, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.948e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.345/2.478, allocations: 0.655 GB / 1.1 GB, free: 161 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/2.479, allocations: 76.09 kB / 1.1 GB, free: 161 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.843/5.322, allocations: 0.6034 GB / 1.703 GB, free: 39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.879e-06/5.322, allocations: 0 / 1.703 GB, free: 39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003204/5.322, allocations: 70.48 kB / 1.703 GB, free: 38.99 MB / 0.4948 GB 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.01659/5.339, allocations: 3.176 MB / 1.706 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/5.339, allocations: 11.12 kB / 1.706 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/5.344, allocations: 464 kB / 1.707 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007295/5.351, allocations: 1.996 MB / 1.709 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/5.351, allocations: 143.4 kB / 1.709 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/5.352, allocations: 175.8 kB / 1.709 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005394/5.357, allocations: 2.688 MB / 1.711 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/5.357, allocations: 11.27 kB / 1.711 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/5.357, allocations: 79.25 kB / 1.712 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/5.358, allocations: 158.6 kB / 1.712 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/5.362, allocations: 2.275 MB / 1.714 GB, free: 36.57 MB / 0.4948 GB 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.01908/5.381, allocations: 11.53 MB / 1.725 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/5.384, allocations: 1.817 MB / 1.727 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/5.385, allocations: 1.1 MB / 1.728 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/5.386, allocations: 456.5 kB / 1.728 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/5.388, allocations: 1.202 MB / 1.73 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=172): time 4.468e-06/5.388, allocations: 1.688 kB / 1.73 GB, free: 29.6 MB / 0.4948 GB 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02949/5.418, allocations: 9.508 MB / 1.739 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/5.418, allocations: 266 kB / 1.739 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/5.421, allocations: 1.386 MB / 1.741 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003575/5.421, allocations: 70.14 kB / 1.741 GB, free: 27.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009667/5.422, allocations: 0.9232 MB / 1.742 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007236/5.423, allocations: 0.669 MB / 1.742 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/5.423, allocations: 43.97 kB / 1.742 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001663/5.423, allocations: 402.2 kB / 1.743 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/5.425, allocations: 1.034 MB / 1.744 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/5.427, allocations: 1.533 MB / 1.745 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/5.429, allocations: 1.322 MB / 1.746 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/5.429, allocations: 3.812 kB / 1.746 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006018/5.435, allocations: 3.23 MB / 1.75 GB, free: 25.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001725/5.437, allocations: 4.847 MB / 1.754 GB, free: 20.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/5.437, allocations: 11.41 kB / 1.754 GB, free: 20.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/5.438, allocations: 298 kB / 1.755 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/5.44, allocations: 0.5715 MB / 1.755 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/5.442, allocations: 3.01 MB / 1.758 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/5.445, allocations: 217.7 kB / 1.758 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/5.446, allocations: 208 kB / 1.758 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/5.446, allocations: 3.875 kB / 1.758 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00534/5.451, allocations: 2.964 MB / 1.761 GB, free: 18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/5.451, allocations: 11.84 kB / 1.761 GB, free: 18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/5.452, allocations: 300.4 kB / 1.762 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/5.454, allocations: 0.567 MB / 1.762 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/5.456, allocations: 2.995 MB / 1.765 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/5.459, allocations: 223 kB / 1.765 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/5.459, allocations: 205.2 kB / 1.766 GB, free: 15.31 MB / 0.4948 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.001036/5.46, allocations: 307.1 kB / 1.766 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/5.461, allocations: 227.1 kB / 1.766 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/5.469, allocations: 3.735 MB / 1.77 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/5.469, allocations: 21.19 kB / 1.77 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/5.469, allocations: 3.125 kB / 1.77 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004277/5.473, allocations: 2.89 MB / 1.773 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/5.488, allocations: 6.99 MB / 1.779 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/5.488, allocations: 3.156 kB / 1.779 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/5.49, allocations: 462.4 kB / 1.78 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008505/5.49, allocations: 319.2 kB / 1.78 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/5.491, allocations: 115.8 kB / 1.78 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/5.494, allocations: 3.74 MB / 1.784 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/5.494, allocations: 7.156 kB / 1.784 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007676/5.502, allocations: 4.879 MB / 1.789 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/5.505, allocations: 0.5528 MB / 1.789 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007998/5.505, allocations: 66.05 kB / 1.789 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/5.508, allocations: 136.1 kB / 1.789 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/5.508, allocations: 182.3 kB / 1.79 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003336/5.508, allocations: 194.5 kB / 1.79 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001929/5.51, allocations: 1.046 MB / 1.791 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/5.51, allocations: 0 / 1.791 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01188/5.522, allocations: 2.068 MB / 1.793 GB, free: 18.59 MB / 0.5105 GB 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: 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 (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.01225/5.535, allocations: 2.562 MB / 1.795 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01487/5.549, allocations: 4.6 MB / 1.8 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.791e-05/5.55, allocations: 0 / 1.8 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/5.554, allocations: 1.624 MB / 1.801 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007612/5.562, allocations: 1.045 MB / 1.802 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/5.582, allocations: 5.749 MB / 1.808 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/5.586, allocations: 1.762 MB / 1.81 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01092/5.597, allocations: 1.582 MB / 1.811 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/5.599, allocations: 296.9 kB / 1.812 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/5.599, allocations: 3.938 kB / 1.812 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of Templates: time 0.6115/6.211, allocations: 85.38 MB / 1.895 GB, free: 57.75 MB / 0.5261 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)