Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 173.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 91.59 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.889e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1792, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.9/2.079, allocations: 0.5607 GB / 1.055 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004122/2.08, allocations: 78.19 kB / 1.055 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.679/4.759, allocations: 0.5008 GB / 1.556 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/4.759, allocations: 2.344 kB / 1.556 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005573/4.76, allocations: 64.61 kB / 1.556 GB, free: 51.73 MB / 0.5261 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.01404/4.774, allocations: 2.797 MB / 1.559 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/4.774, allocations: 15.17 kB / 1.559 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/4.779, allocations: 450.6 kB / 1.56 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008281/4.787, allocations: 1.925 MB / 1.561 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/4.787, allocations: 56.78 kB / 1.561 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/4.788, allocations: 103.6 kB / 1.562 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006048/4.795, allocations: 2.131 MB / 1.564 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/4.802, allocations: 2.379 MB / 1.566 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-05/4.802, allocations: 5.5 kB / 1.566 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/4.802, allocations: 4.469 kB / 1.566 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/4.802, allocations: 159.2 kB / 1.566 GB, free: 49.5 MB / 0.5261 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.01786/4.82, allocations: 11.1 MB / 1.577 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/4.823, allocations: 1.728 MB / 1.579 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/4.824, allocations: 0.9796 MB / 1.58 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/4.825, allocations: 0.5018 MB / 1.58 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/4.827, allocations: 1.165 MB / 1.581 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=153): time 4.599e-06/4.827, allocations: 0 / 1.581 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.03681/4.863, allocations: 9.01 MB / 1.59 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/4.864, allocations: 366.4 kB / 1.59 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/4.866, allocations: 1.067 MB / 1.591 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004982/4.866, allocations: 30.8 kB / 1.591 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/4.867, allocations: 0.9063 MB / 1.592 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/4.868, allocations: 0.5725 MB / 1.593 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/4.868, allocations: 0 / 1.593 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001584/4.868, allocations: 393 kB / 1.593 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/4.87, allocations: 0.9822 MB / 1.594 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/4.872, allocations: 1.402 MB / 1.596 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008879/4.88, allocations: 2.164 MB / 1.598 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.902e-05/4.881, allocations: 11.56 kB / 1.598 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01469/4.895, allocations: 3.842 MB / 1.601 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001688/4.897, allocations: 3.71 MB / 1.605 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/4.897, allocations: 10.56 kB / 1.605 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/4.898, allocations: 167.8 kB / 1.605 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/4.9, allocations: 0.5397 MB / 1.606 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/4.902, allocations: 2.343 MB / 1.608 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/4.905, allocations: 178 kB / 1.608 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006613/4.906, allocations: 188 kB / 1.608 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/4.906, allocations: 7.219 kB / 1.608 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/4.918, allocations: 3.363 MB / 1.612 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/4.919, allocations: 6.344 kB / 1.612 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/4.919, allocations: 168.2 kB / 1.612 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/4.922, allocations: 0.5311 MB / 1.612 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/4.923, allocations: 2.341 MB / 1.615 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/4.926, allocations: 176.1 kB / 1.615 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000757/4.927, allocations: 188.6 kB / 1.615 GB, free: 30.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (246): * Single equations (assignments): 240 * 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.001471/4.928, allocations: 230.2 kB / 1.615 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/4.93, allocations: 187.1 kB / 1.615 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/4.95, allocations: 4.407 MB / 1.62 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/4.95, allocations: 20.94 kB / 1.62 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.637e-05/4.95, allocations: 3.844 kB / 1.62 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01493/4.965, allocations: 3.464 MB / 1.623 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/4.99, allocations: 6.999 MB / 1.63 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/4.99, allocations: 3.656 kB / 1.63 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/4.992, allocations: 412.4 kB / 1.63 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/4.993, allocations: 173.5 kB / 1.631 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005047/4.993, allocations: 69.03 kB / 1.631 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/4.996, allocations: 3.038 MB / 1.634 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/4.996, allocations: 6 kB / 1.634 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/5.015, allocations: 5.197 MB / 1.639 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/5.017, allocations: 0.5073 MB / 1.639 GB, free: 21.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/5.019, allocations: 22.7 kB / 1.639 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/5.021, allocations: 99.34 kB / 1.639 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/5.022, allocations: 165.6 kB / 1.639 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004689/5.023, allocations: 146.7 kB / 1.64 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002172/5.025, allocations: 0.7955 MB / 1.64 GB, free: 21.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/5.025, allocations: 3.469 kB / 1.64 GB, free: 21.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009612/5.034, allocations: 1.639 MB / 1.642 GB, free: 20.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (186): * Single equations (assignments): 180 * 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.008461/5.043, allocations: 2.349 MB / 1.644 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008947/5.052, allocations: 4.122 MB / 1.648 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/5.052, allocations: 4.125 kB / 1.648 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/5.054, allocations: 1.415 MB / 1.65 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/5.059, allocations: 0.7772 MB / 1.65 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/5.069, allocations: 3.88 MB / 1.654 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/5.071, allocations: 1.73 MB / 1.656 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008791/5.08, allocations: 2.977 MB / 1.659 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/5.081, allocations: 297.6 kB / 1.659 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/5.081, allocations: 0 / 1.659 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of Templates: time 0.6088/5.69, allocations: 57.88 MB / 1.716 GB, free: 62.45 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)