Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="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_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004283/0.004282, allocations: 358.4 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.83/3.83, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003456/0.003456, allocations: 230.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4992/0.4992, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005022, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.26/2.365, allocations: 0.6877 GB / 1.368 GB, free: 95.81 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/2.365, allocations: 79.72 kB / 1.368 GB, free: 95.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.09/5.455, allocations: 0.5478 GB / 1.916 GB, free: 43.94 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.938e-06/5.455, allocations: 0 / 1.916 GB, free: 43.94 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002552/5.455, allocations: 60.22 kB / 1.916 GB, free: 43.93 MB / 0.4949 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.01414/5.47, allocations: 3.321 MB / 1.919 GB, free: 42.52 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/5.47, allocations: 7.719 kB / 1.919 GB, free: 42.52 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/5.474, allocations: 453.6 kB / 1.919 GB, free: 42.4 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/5.486, allocations: 3.178 MB / 1.923 GB, free: 41.93 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/5.486, allocations: 131.2 kB / 1.923 GB, free: 41.93 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000666/5.487, allocations: 167.4 kB / 1.923 GB, free: 41.93 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006666/5.493, allocations: 2.635 MB / 1.925 GB, free: 41.5 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/5.493, allocations: 2.625 kB / 1.925 GB, free: 41.5 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/5.494, allocations: 75.47 kB / 1.925 GB, free: 41.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/5.494, allocations: 157.3 kB / 1.926 GB, free: 41.49 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/5.5, allocations: 2.243 MB / 1.928 GB, free: 41.47 MB / 0.4949 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.02191/5.522, allocations: 10.98 MB / 1.939 GB, free: 35.58 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/5.527, allocations: 1.801 MB / 1.94 GB, free: 35.26 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/5.53, allocations: 1.054 MB / 1.941 GB, free: 35.25 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003661/5.534, allocations: 2.434 MB / 1.944 GB, free: 33.27 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003108/5.537, allocations: 1.183 MB / 1.945 GB, free: 33.15 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=162): time 5.44e-06/5.537, allocations: 2.25 kB / 1.945 GB, free: 33.15 MB / 0.4949 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.04518/5.582, allocations: 10.66 MB / 1.955 GB, free: 31.56 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/5.582, allocations: 263.4 kB / 1.956 GB, free: 31.28 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/5.585, allocations: 1.518 MB / 1.957 GB, free: 31.09 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006823/5.586, allocations: 61.55 kB / 1.957 GB, free: 31.06 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/5.587, allocations: 0.8662 MB / 1.958 GB, free: 30.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/5.588, allocations: 0.6266 MB / 1.959 GB, free: 30.34 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/5.588, allocations: 36.59 kB / 1.959 GB, free: 30.34 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001803/5.588, allocations: 390.6 kB / 1.959 GB, free: 30.03 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/5.591, allocations: 1.032 MB / 1.96 GB, free: 30.03 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/5.595, allocations: 1.489 MB / 1.961 GB, free: 29.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/5.599, allocations: 1.303 MB / 1.963 GB, free: 29.51 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/5.599, allocations: 1.75 kB / 1.963 GB, free: 29.51 MB / 0.4949 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.009725/5.609, allocations: 3.091 MB / 1.966 GB, free: 29.23 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003176/5.609, allocations: 473.8 kB / 1.966 GB, free: 28.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/5.609, allocations: 11 kB / 1.966 GB, free: 28.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/5.61, allocations: 194.2 kB / 1.966 GB, free: 28.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/5.615, allocations: 0.5444 MB / 1.967 GB, free: 28.67 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/5.616, allocations: 2.333 MB / 1.969 GB, free: 26.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/5.621, allocations: 215.3 kB / 1.969 GB, free: 26.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009188/5.622, allocations: 197.2 kB / 1.97 GB, free: 26.58 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/5.622, allocations: 3.688 kB / 1.97 GB, free: 26.58 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008326/5.63, allocations: 2.817 MB / 1.972 GB, free: 26.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/5.63, allocations: 16.23 kB / 1.972 GB, free: 26.33 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/5.631, allocations: 194.1 kB / 1.973 GB, free: 26.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/5.635, allocations: 0.5325 MB / 1.973 GB, free: 26.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/5.637, allocations: 2.329 MB / 1.975 GB, free: 24.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/5.641, allocations: 205.1 kB / 1.975 GB, free: 24.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009091/5.642, allocations: 189.5 kB / 1.976 GB, free: 24 MB / 0.4949 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.002407/5.644, allocations: 0.6978 MB / 1.976 GB, free: 23.54 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007484/5.645, allocations: 209.8 kB / 1.977 GB, free: 23.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/5.658, allocations: 3.53 MB / 1.98 GB, free: 22.16 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/5.658, allocations: 18.75 kB / 1.98 GB, free: 22.16 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/5.658, allocations: 6.25 kB / 1.98 GB, free: 22.16 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007401/5.665, allocations: 2.762 MB / 1.983 GB, free: 20.83 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/5.687, allocations: 7.613 MB / 1.99 GB, free: 17.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/5.687, allocations: 10.41 kB / 1.99 GB, free: 17 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003857/5.691, allocations: 450.8 kB / 1.991 GB, free: 16.96 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007344/5.692, allocations: 191.6 kB / 1.991 GB, free: 16.91 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006439/5.692, allocations: 104.7 kB / 1.991 GB, free: 16.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/5.694, allocations: 3.065 MB / 1.994 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/5.694, allocations: 13.62 kB / 1.994 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/5.706, allocations: 4.308 MB / 1.998 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/5.708, allocations: 0.5394 MB / 1.999 GB, free: 11.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008842/5.709, allocations: 60.98 kB / 1.999 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/5.712, allocations: 131.2 kB / 1.999 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/5.713, allocations: 186.1 kB / 1.999 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/5.713, allocations: 168.2 kB / 1.999 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002252/5.716, allocations: 1.008 MB / 2 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.41e-07/5.716, allocations: 0 / 2 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009135/5.725, allocations: 1.91 MB / 2.002 GB, free: 10.8 MB / 0.4949 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.008176/5.733, allocations: 2.353 MB / 2.004 GB, free: 10.01 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01253/5.746, allocations: 4.392 MB / 2.009 GB, free: 6.125 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/5.746, allocations: 0 / 2.009 GB, free: 6.125 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004221/5.75, allocations: 1.573 MB / 2.01 GB, free: 4.703 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008812/5.759, allocations: 0.9402 MB / 2.011 GB, free: 4.016 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/5.773, allocations: 5.801 MB / 2.017 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/5.775, allocations: 1.719 MB / 2.018 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009505/5.785, allocations: 1.347 MB / 2.02 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/5.787, allocations: 309.4 kB / 2.02 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.462e-06/5.787, allocations: 3.938 kB / 2.02 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.5729/6.36, allocations: 71.17 MB / 2.089 GB, free: 52.88 MB / 0.5105 GB