Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 173 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.457/1.457, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001064/0.001063, allocations: 102 kB / 281.6 MB, free: 5.305 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.2427/0.2427, allocations: 44.13 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.079e-05, allocations: 0 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 61.91 MB / 0.4947 GB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.894/2.073, allocations: 0.5608 GB / 1.055 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/2.073, allocations: 78.53 kB / 1.056 GB, free: 29.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.617/4.69, allocations: 0.5574 GB / 1.613 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/4.69, allocations: 7.188 kB / 1.613 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002394/4.69, allocations: 59.75 kB / 1.613 GB, free: 48.12 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.0126/4.703, allocations: 2.942 MB / 1.616 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/4.703, allocations: 12.03 kB / 1.616 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/4.708, allocations: 459.9 kB / 1.616 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/4.716, allocations: 2.004 MB / 1.618 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/4.716, allocations: 60.5 kB / 1.618 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005219/4.717, allocations: 109.6 kB / 1.618 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003935/4.721, allocations: 2.218 MB / 1.621 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/4.724, allocations: 2.482 MB / 1.623 GB, free: 43.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/4.724, allocations: 7.875 kB / 1.623 GB, free: 43.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/4.725, allocations: 11.45 kB / 1.623 GB, free: 43.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/4.725, allocations: 159.9 kB / 1.623 GB, free: 43.48 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.01536/4.74, allocations: 11.31 MB / 1.634 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/4.743, allocations: 1.769 MB / 1.636 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/4.744, allocations: 1.061 MB / 1.637 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/4.745, allocations: 0.504 MB / 1.638 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/4.747, allocations: 1.259 MB / 1.639 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=167): time 3.326e-06/4.747, allocations: 4 kB / 1.639 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=195): time 0.04009/4.787, allocations: 9.802 MB / 1.648 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/4.787, allocations: 368.1 kB / 1.649 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/4.789, allocations: 1.094 MB / 1.65 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/4.789, allocations: 29.7 kB / 1.65 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/4.79, allocations: 0.9487 MB / 1.651 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005733/4.791, allocations: 0.6334 MB / 1.651 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/4.791, allocations: 4 kB / 1.651 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001507/4.791, allocations: 393.1 kB / 1.652 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/4.792, allocations: 1.025 MB / 1.653 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/4.794, allocations: 1.499 MB / 1.654 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008527/4.803, allocations: 2.227 MB / 1.656 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/4.803, allocations: 4 kB / 1.656 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01216/4.815, allocations: 4.052 MB / 1.66 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001219/4.816, allocations: 4.267 MB / 1.664 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/4.816, allocations: 12 kB / 1.665 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/4.817, allocations: 272.1 kB / 1.665 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/4.819, allocations: 0.5656 MB / 1.665 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/4.821, allocations: 3.03 MB / 1.668 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/4.824, allocations: 179.6 kB / 1.668 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/4.824, allocations: 207.9 kB / 1.669 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/4.824, allocations: 0 / 1.669 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01077/4.835, allocations: 3.572 MB / 1.672 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/4.835, allocations: 8 kB / 1.672 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/4.836, allocations: 280.2 kB / 1.672 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/4.838, allocations: 0.5556 MB / 1.673 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/4.841, allocations: 3.034 MB / 1.676 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/4.844, allocations: 179.6 kB / 1.676 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/4.844, allocations: 200 kB / 1.676 GB, free: 13.57 MB / 0.5417 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 (261): * Single equations (assignments): 254 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001098/4.845, allocations: 223.9 kB / 1.676 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/4.846, allocations: 205.6 kB / 1.677 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/4.864, allocations: 5.198 MB / 1.682 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/4.864, allocations: 23.47 kB / 1.682 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/4.864, allocations: 3.938 kB / 1.682 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01345/4.878, allocations: 3.771 MB / 1.685 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5846/5.462, allocations: 7.559 MB / 1.693 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/5.462, allocations: 8.688 kB / 1.693 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/5.465, allocations: 459.6 kB / 1.693 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007401/5.465, allocations: 289.7 kB / 1.694 GB, free: 62.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/5.466, allocations: 84.45 kB / 1.694 GB, free: 62.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/5.468, allocations: 3.72 MB / 1.697 GB, free: 59.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/5.468, allocations: 10.5 kB / 1.697 GB, free: 59.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/5.485, allocations: 5.634 MB / 1.703 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/5.487, allocations: 0.5277 MB / 1.703 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/5.487, allocations: 28.11 kB / 1.703 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/5.489, allocations: 107.7 kB / 1.703 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/5.49, allocations: 181.2 kB / 1.704 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004439/5.49, allocations: 184.9 kB / 1.704 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001837/5.492, allocations: 0.8052 MB / 1.705 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/5.492, allocations: 1.344 kB / 1.705 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009888/5.502, allocations: 1.728 MB / 1.706 GB, free: 58.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (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,junctionVolume.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 (203): * Single equations (assignments): 196 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008294/5.51, allocations: 2.502 MB / 1.709 GB, free: 57.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00994/5.52, allocations: 4.403 MB / 1.713 GB, free: 57.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/5.52, allocations: 3.25 kB / 1.713 GB, free: 57.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/5.523, allocations: 1.555 MB / 1.715 GB, free: 57.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006237/5.529, allocations: 0.9269 MB / 1.715 GB, free: 57.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/5.539, allocations: 4.143 MB / 1.719 GB, free: 56.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/5.541, allocations: 1.772 MB / 1.721 GB, free: 55.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009377/5.55, allocations: 3.137 MB / 1.724 GB, free: 55.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/5.552, allocations: 335.8 kB / 1.725 GB, free: 55.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.906e-06/5.552, allocations: 0 / 1.725 GB, free: 55.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1256/5.678, allocations: 63.75 MB / 1.787 GB, free: 51.49 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)