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.009839/0.009839, allocations: 175.9 kB / 15.12 MB, free: 5.992 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.623/1.623, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001677/0.001677, allocations: 112.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.199/0.199, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 11 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.827/1.948, allocations: 0.6877 GB / 1.138 GB, free: 145.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.948, allocations: 79.48 kB / 1.138 GB, free: 145.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.113/4.061, allocations: 0.5508 GB / 1.689 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492e-06/4.061, allocations: 3.625 kB / 1.689 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001815/4.061, allocations: 65.52 kB / 1.689 GB, free: 41.57 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.01086/4.072, allocations: 3.311 MB / 1.692 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/4.072, allocations: 15.84 kB / 1.692 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/4.076, allocations: 444.7 kB / 1.693 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/4.081, allocations: 1.965 MB / 1.694 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/4.081, allocations: 123.6 kB / 1.695 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005005/4.082, allocations: 169 kB / 1.695 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/4.086, allocations: 2.618 MB / 1.697 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/4.086, allocations: 7.125 kB / 1.697 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/4.086, allocations: 68.92 kB / 1.697 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/4.086, allocations: 157.3 kB / 1.698 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/4.09, allocations: 2.24 MB / 1.7 GB, free: 39.4 MB / 0.4948 GB 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.01297/4.103, allocations: 10.96 MB / 1.71 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/4.105, allocations: 1.798 MB / 1.712 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/4.106, allocations: 459.6 kB / 1.713 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/4.108, allocations: 1.172 MB / 1.714 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 5.18e-06/4.108, allocations: 3.875 kB / 1.714 GB, free: 32.79 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 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02426/4.132, allocations: 10.98 MB / 1.724 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/4.132, allocations: 252.8 kB / 1.725 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/4.134, allocations: 1.343 MB / 1.726 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/4.134, allocations: 62.17 kB / 1.726 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/4.135, allocations: 0.8751 MB / 1.727 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/4.135, allocations: 0.6271 MB / 1.728 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/4.135, allocations: 45.69 kB / 1.728 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/4.136, allocations: 384.6 kB / 1.728 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/4.137, allocations: 1.03 MB / 1.729 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/4.139, allocations: 1.477 MB / 1.73 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/4.14, allocations: 1.304 MB / 1.732 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/4.14, allocations: 5.219 kB / 1.732 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004692/4.145, allocations: 3.086 MB / 1.735 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008401/4.146, allocations: 4.294 MB / 1.739 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/4.146, allocations: 11.69 kB / 1.739 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/4.146, allocations: 192.7 kB / 1.739 GB, free: 23.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/4.149, allocations: 0.5434 MB / 1.74 GB, free: 23.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/4.15, allocations: 2.332 MB / 1.742 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/4.152, allocations: 211.2 kB / 1.742 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/4.153, allocations: 188.6 kB / 1.742 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/4.153, allocations: 7.844 kB / 1.742 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004119/4.157, allocations: 2.819 MB / 1.745 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/4.157, allocations: 10.62 kB / 1.745 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/4.157, allocations: 188.2 kB / 1.745 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/4.159, allocations: 0.5323 MB / 1.746 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/4.16, allocations: 2.33 MB / 1.748 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/4.162, allocations: 212.2 kB / 1.748 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/4.163, allocations: 188 kB / 1.748 GB, free: 19.62 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 () * Number of clocked 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.001439/4.164, allocations: 0.6939 MB / 1.749 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/4.165, allocations: 206.8 kB / 1.749 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/4.172, allocations: 3.533 MB / 1.753 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/4.172, allocations: 19.91 kB / 1.753 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/4.172, allocations: 0 / 1.753 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/4.175, allocations: 2.758 MB / 1.755 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/4.187, allocations: 6.926 MB / 1.762 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/4.188, allocations: 6.5 kB / 1.762 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/4.189, allocations: 448.9 kB / 1.763 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/4.19, allocations: 183.6 kB / 1.763 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/4.19, allocations: 110.5 kB / 1.763 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/4.192, allocations: 3.082 MB / 1.766 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/4.192, allocations: 11.28 kB / 1.766 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006373/4.198, allocations: 4.739 MB / 1.771 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/4.2, allocations: 0.528 MB / 1.771 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/4.2, allocations: 55.09 kB / 1.771 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/4.202, allocations: 135 kB / 1.771 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/4.203, allocations: 179.7 kB / 1.771 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/4.203, allocations: 167.6 kB / 1.772 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001741/4.205, allocations: 1.019 MB / 1.773 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.252e-06/4.205, allocations: 1.625 kB / 1.773 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008594/4.213, allocations: 1.953 MB / 1.775 GB, free: 28.3 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) * Number of clocked states: 0 () * 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.008334/4.222, allocations: 2.446 MB / 1.777 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008593/4.23, allocations: 4.395 MB / 1.781 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/4.23, allocations: 0 / 1.781 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/4.233, allocations: 1.566 MB / 1.783 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/4.238, allocations: 0.9181 MB / 1.784 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/4.253, allocations: 7.144 MB / 1.791 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/4.255, allocations: 1.721 MB / 1.792 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006154/4.261, allocations: 1.354 MB / 1.794 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/4.262, allocations: 305.3 kB / 1.794 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/4.262, allocations: 0 / 1.794 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.1058/4.368, allocations: 71 MB / 1.863 GB, free: 2.285 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)