Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009525/0.009525, allocations: 177.9 kB / 15.12 MB, free: 5.973 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.66/1.66, allocations: 194.5 MB / 210.3 MB, free: 11.16 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.001937/0.001937, allocations: 127.2 kB / 255.6 MB, free: 14.25 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.3449/0.3449, allocations: 40 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 16 kB / 406.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 54.86 MB / 461 MB, free: 24.71 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.735/2.028, allocations: 0.6877 GB / 1.138 GB, free: 172.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/2.028, allocations: 82.89 kB / 1.138 GB, free: 172.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611/3.639, allocations: 0.5508 GB / 1.689 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/3.639, allocations: 0 / 1.689 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002146/3.639, allocations: 60.14 kB / 1.689 GB, free: 5.969 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.01038/3.65, allocations: 3.318 MB / 1.692 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/3.65, allocations: 8.031 kB / 1.692 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/3.653, allocations: 456.7 kB / 1.693 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/3.658, allocations: 1.949 MB / 1.695 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2577/3.916, allocations: 128.9 kB / 1.695 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/3.917, allocations: 167.6 kB / 1.695 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004379/3.922, allocations: 2.624 MB / 1.697 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/3.922, allocations: 5.281 kB / 1.697 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/3.922, allocations: 72.27 kB / 1.697 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/3.922, allocations: 159.6 kB / 1.698 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/3.926, allocations: 2.247 MB / 1.7 GB, free: 41.02 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.01435/3.94, allocations: 10.95 MB / 1.71 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/3.943, allocations: 1.788 MB / 1.712 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009/3.944, allocations: 459.5 kB / 1.713 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/3.946, allocations: 1.184 MB / 1.714 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 4.178e-06/3.946, allocations: 2.25 kB / 1.714 GB, free: 34.61 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.02487/3.971, allocations: 10.97 MB / 1.725 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/3.971, allocations: 259 kB / 1.725 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/3.973, allocations: 1.34 MB / 1.726 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/3.973, allocations: 63.48 kB / 1.726 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/3.974, allocations: 0.8778 MB / 1.727 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005594/3.975, allocations: 0.6214 MB / 1.728 GB, free: 31.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/3.975, allocations: 42.84 kB / 1.728 GB, free: 31.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001288/3.975, allocations: 390.1 kB / 1.728 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/3.977, allocations: 1.028 MB / 1.729 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/3.979, allocations: 1.474 MB / 1.73 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/3.981, allocations: 1.31 MB / 1.732 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/3.981, allocations: 3.25 kB / 1.732 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005211/3.986, allocations: 3.092 MB / 1.735 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008908/3.987, allocations: 4.294 MB / 1.739 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/3.987, allocations: 7.75 kB / 1.739 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/3.987, allocations: 189.7 kB / 1.739 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/3.99, allocations: 0.5485 MB / 1.74 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/3.991, allocations: 2.331 MB / 1.742 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/3.994, allocations: 210.5 kB / 1.742 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/3.994, allocations: 194.4 kB / 1.742 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/3.994, allocations: 7.594 kB / 1.742 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/3.999, allocations: 2.814 MB / 1.745 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/3.999, allocations: 12.94 kB / 1.745 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/3.999, allocations: 196.6 kB / 1.745 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/4.001, allocations: 0.532 MB / 1.746 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/4.003, allocations: 2.333 MB / 1.748 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/4.005, allocations: 209.7 kB / 1.748 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/4.006, allocations: 182.5 kB / 1.748 GB, free: 21.69 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.001768/4.007, allocations: 0.6879 MB / 1.749 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007728/4.008, allocations: 209.4 kB / 1.749 GB, free: 21.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007702/4.016, allocations: 3.531 MB / 1.753 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/4.016, allocations: 22.59 kB / 1.753 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/4.016, allocations: 3.938 kB / 1.753 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003773/4.02, allocations: 2.762 MB / 1.756 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/4.032, allocations: 6.938 MB / 1.762 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/4.032, allocations: 7.656 kB / 1.762 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/4.034, allocations: 446.8 kB / 1.763 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/4.035, allocations: 181.4 kB / 1.763 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/4.035, allocations: 107.5 kB / 1.763 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/4.037, allocations: 3.083 MB / 1.766 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/4.038, allocations: 13.06 kB / 1.766 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/4.044, allocations: 4.731 MB / 1.771 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/4.046, allocations: 0.5209 MB / 1.771 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006953/4.046, allocations: 67.09 kB / 1.771 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/4.048, allocations: 134.8 kB / 1.771 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/4.049, allocations: 175.1 kB / 1.772 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/4.049, allocations: 168.6 kB / 1.772 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001909/4.051, allocations: 1.026 MB / 1.773 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/4.051, allocations: 0 / 1.773 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007854/4.059, allocations: 1.946 MB / 1.775 GB, free: 30.65 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.007202/4.066, allocations: 2.439 MB / 1.777 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008556/4.075, allocations: 4.394 MB / 1.781 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/4.075, allocations: 3.469 kB / 1.781 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/4.077, allocations: 1.565 MB / 1.783 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00483/4.082, allocations: 0.9141 MB / 1.784 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/4.096, allocations: 7.138 MB / 1.791 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/4.098, allocations: 1.716 MB / 1.792 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006484/4.104, allocations: 1.353 MB / 1.794 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/4.106, allocations: 305.9 kB / 1.794 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.914e-06/4.106, allocations: 0 / 1.794 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.1029/4.209, allocations: 71.01 MB / 1.863 GB, free: 8.355 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)