Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,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.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,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.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 174.4 kB / 8.74 MB, free: 348 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.503/1.503, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0009073/0.0009072, allocations: 91.97 kB / 281.6 MB, free: 5.266 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.2545/0.2545, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.891e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1755, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.882/2.058, allocations: 0.5607 GB / 1.055 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/2.058, allocations: 77.83 kB / 1.055 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.519/4.578, allocations: 0.5008 GB / 1.556 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/4.578, allocations: 0 / 1.556 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000313/4.578, allocations: 64.92 kB / 1.556 GB, free: 51.8 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.01505/4.593, allocations: 2.803 MB / 1.559 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.013e-05/4.593, allocations: 11.67 kB / 1.559 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/4.598, allocations: 446.1 kB / 1.559 GB, free: 50.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/4.608, allocations: 1.925 MB / 1.561 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/4.608, allocations: 58.69 kB / 1.561 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/4.609, allocations: 98.75 kB / 1.562 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00666/4.616, allocations: 2.133 MB / 1.564 GB, free: 50 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008175/4.624, allocations: 2.378 MB / 1.566 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/4.624, allocations: 6.281 kB / 1.566 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007909/4.625, allocations: 13.88 kB / 1.566 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/4.625, allocations: 154.8 kB / 1.566 GB, free: 49.57 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.02238/4.648, allocations: 11.1 MB / 1.577 GB, free: 43.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/4.651, allocations: 1.725 MB / 1.579 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/4.653, allocations: 0.9807 MB / 1.58 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009981/4.654, allocations: 0.5019 MB / 1.58 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/4.656, allocations: 1.171 MB / 1.581 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=153): time 9.468e-06/4.656, allocations: 0 / 1.581 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.04447/4.701, allocations: 9.008 MB / 1.59 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003007/4.701, allocations: 363.1 kB / 1.59 GB, free: 41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/4.705, allocations: 1.076 MB / 1.591 GB, free: 40.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008828/4.706, allocations: 28.02 kB / 1.591 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/4.708, allocations: 0.9063 MB / 1.592 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/4.71, allocations: 0.568 MB / 1.593 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/4.71, allocations: 3.625 kB / 1.593 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002937/4.71, allocations: 386.7 kB / 1.593 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/4.713, allocations: 0.9806 MB / 1.594 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/4.715, allocations: 1.414 MB / 1.596 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009454/4.725, allocations: 2.166 MB / 1.598 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/4.725, allocations: 0 / 1.598 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01443/4.739, allocations: 3.844 MB / 1.601 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/4.741, allocations: 3.709 MB / 1.605 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/4.741, allocations: 12.5 kB / 1.605 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/4.741, allocations: 172.4 kB / 1.605 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/4.744, allocations: 0.5446 MB / 1.606 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/4.745, allocations: 2.34 MB / 1.608 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/4.748, allocations: 172.5 kB / 1.608 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007202/4.749, allocations: 191.1 kB / 1.608 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/4.749, allocations: 3.875 kB / 1.608 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/4.762, allocations: 3.363 MB / 1.612 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/4.762, allocations: 7.188 kB / 1.612 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/4.763, allocations: 169.5 kB / 1.612 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/4.765, allocations: 0.5369 MB / 1.612 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/4.767, allocations: 2.341 MB / 1.615 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/4.769, allocations: 166.6 kB / 1.615 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005572/4.77, allocations: 186.2 kB / 1.615 GB, free: 30.98 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.0011/4.771, allocations: 233 kB / 1.615 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008288/4.772, allocations: 191.2 kB / 1.615 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/4.788, allocations: 4.408 MB / 1.62 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/4.788, allocations: 22.22 kB / 1.62 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/4.788, allocations: 0 / 1.62 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01285/4.801, allocations: 3.467 MB / 1.623 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/4.823, allocations: 6.996 MB / 1.63 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/4.823, allocations: 5.656 kB / 1.63 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/4.825, allocations: 426.2 kB / 1.63 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/4.826, allocations: 164.8 kB / 1.631 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003638/4.826, allocations: 73.12 kB / 1.631 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/4.828, allocations: 3.026 MB / 1.634 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/4.828, allocations: 9.312 kB / 1.634 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/4.843, allocations: 5.203 MB / 1.639 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/4.845, allocations: 0.5012 MB / 1.639 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000902/4.846, allocations: 28.47 kB / 1.639 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/4.848, allocations: 96.03 kB / 1.639 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/4.848, allocations: 160 kB / 1.639 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/4.849, allocations: 152.5 kB / 1.64 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001787/4.851, allocations: 0.8017 MB / 1.64 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/4.851, allocations: 0 / 1.64 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008813/4.859, allocations: 1.634 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.007653/4.867, allocations: 2.347 MB / 1.644 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009003/4.876, allocations: 4.125 MB / 1.648 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/4.876, allocations: 4 kB / 1.648 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/4.879, allocations: 1.411 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.005471/4.884, allocations: 0.7823 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.009739/4.894, allocations: 3.893 MB / 1.654 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/4.896, allocations: 1.72 MB / 1.656 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009413/4.906, allocations: 2.972 MB / 1.659 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/4.908, allocations: 297 kB / 1.659 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of SimCode: time 2.134e-06/4.908, allocations: 0 / 1.659 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.6048/5.512, allocations: 57.89 MB / 1.716 GB, free: 62.49 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)