Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 182.2 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.866/1.866, 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.002092/0.002092, allocations: 118.2 kB / 252.6 MB, free: 4.84 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.2423/0.2423, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.183e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.355/2.487, allocations: 0.6549 GB / 1.099 GB, free: 162.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.488, allocations: 80.88 kB / 1.099 GB, free: 162.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.737/5.225, allocations: 0.5401 GB / 1.64 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/5.225, allocations: 0 / 1.64 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000227/5.225, allocations: 62.06 kB / 1.64 GB, free: 40.8 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01302/5.238, allocations: 3.026 MB / 1.643 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/5.238, allocations: 9.531 kB / 1.643 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/5.242, allocations: 436.8 kB / 1.643 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/5.249, allocations: 1.934 MB / 1.645 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/5.249, allocations: 134.7 kB / 1.645 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/5.249, allocations: 166.9 kB / 1.645 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/5.254, allocations: 2.576 MB / 1.648 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/5.254, allocations: 6.906 kB / 1.648 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/5.254, allocations: 73.39 kB / 1.648 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/5.254, allocations: 152.8 kB / 1.648 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/5.258, allocations: 2.174 MB / 1.65 GB, free: 38.95 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.01841/5.277, allocations: 10.96 MB / 1.661 GB, free: 33.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/5.28, allocations: 1.739 MB / 1.662 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/5.282, allocations: 1.035 MB / 1.663 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/5.283, allocations: 462.4 kB / 1.664 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002413/5.286, allocations: 1.153 MB / 1.665 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 6.522e-06/5.286, allocations: 3.188 kB / 1.665 GB, free: 32.4 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=185): time 0.0255/5.311, allocations: 8.48 MB / 1.673 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/5.312, allocations: 260.6 kB / 1.674 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/5.314, allocations: 1.329 MB / 1.675 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/5.315, allocations: 66.89 kB / 1.675 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009734/5.316, allocations: 0.867 MB / 1.676 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/5.317, allocations: 0.62 MB / 1.676 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/5.317, allocations: 43.75 kB / 1.676 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001791/5.317, allocations: 387.4 kB / 1.677 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/5.319, allocations: 0.9857 MB / 1.678 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/5.321, allocations: 1.436 MB / 1.679 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/5.322, allocations: 1.266 MB / 1.68 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/5.322, allocations: 5.094 kB / 1.68 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005426/5.328, allocations: 2.993 MB / 1.683 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001379/5.329, allocations: 4.288 MB / 1.688 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/5.329, allocations: 12.34 kB / 1.688 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/5.33, allocations: 190.9 kB / 1.688 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/5.332, allocations: 0.5433 MB / 1.688 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/5.334, allocations: 2.33 MB / 1.691 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/5.337, allocations: 216.3 kB / 1.691 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/5.337, allocations: 193.1 kB / 1.691 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/5.337, allocations: 6.438 kB / 1.691 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004731/5.342, allocations: 2.719 MB / 1.694 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/5.342, allocations: 12.89 kB / 1.694 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/5.343, allocations: 194.9 kB / 1.694 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/5.345, allocations: 0.541 MB / 1.694 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/5.346, allocations: 2.326 MB / 1.697 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/5.349, allocations: 209.8 kB / 1.697 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/5.349, allocations: 187.7 kB / 1.697 GB, free: 20.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.001067/5.35, allocations: 306 kB / 1.697 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/5.351, allocations: 214.4 kB / 1.697 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007563/5.359, allocations: 3.453 MB / 1.701 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/5.359, allocations: 21.09 kB / 1.701 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/5.359, allocations: 2.25 kB / 1.701 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/5.363, allocations: 2.704 MB / 1.703 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/5.377, allocations: 6.875 MB / 1.71 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/5.377, allocations: 7.25 kB / 1.71 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/5.378, allocations: 449 kB / 1.711 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/5.379, allocations: 187.7 kB / 1.711 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/5.379, allocations: 103.5 kB / 1.711 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/5.382, allocations: 3.063 MB / 1.714 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/5.382, allocations: 15.89 kB / 1.714 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/5.39, allocations: 4.651 MB / 1.718 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/5.392, allocations: 0.5286 MB / 1.719 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/5.393, allocations: 57.84 kB / 1.719 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/5.394, allocations: 133.3 kB / 1.719 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/5.394, allocations: 172.9 kB / 1.719 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/5.395, allocations: 181.1 kB / 1.719 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002059/5.397, allocations: 1.006 MB / 1.72 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/5.397, allocations: 1.969 kB / 1.72 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01141/5.408, allocations: 1.947 MB / 1.722 GB, free: 28.85 MB / 0.5105 GB 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: 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 (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.009251/5.418, allocations: 2.437 MB / 1.725 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01138/5.429, allocations: 4.331 MB / 1.729 GB, free: 28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.667e-05/5.429, allocations: 5.719 kB / 1.729 GB, free: 28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003472/5.433, allocations: 1.536 MB / 1.73 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007218/5.44, allocations: 0.9207 MB / 1.731 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/5.46, allocations: 5.508 MB / 1.737 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/5.463, allocations: 1.722 MB / 1.738 GB, free: 26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009304/5.472, allocations: 1.524 MB / 1.74 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/5.474, allocations: 290.4 kB / 1.74 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/5.474, allocations: 0 / 1.74 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.1586/5.633, allocations: 78.3 MB / 1.817 GB, free: 14.86 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)