Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003833/0.00384, allocations: 348 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.397/3.397, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005336/0.005336, allocations: 218.1 kB / 397.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5139/0.5139, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004457, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08448, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.377/2.461, allocations: 0.6812 GB / 1.288 GB, free: 107.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/2.462, allocations: 85.61 kB / 1.288 GB, free: 107.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.29/5.752, allocations: 0.6119 GB / 1.9 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.116e-06/5.752, allocations: 3.344 kB / 1.9 GB, free: 31.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000324/5.752, allocations: 71.2 kB / 1.9 GB, free: 31.92 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01528/5.767, allocations: 3.476 MB / 1.903 GB, free: 30.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/5.767, allocations: 9.5 kB / 1.903 GB, free: 30.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/5.772, allocations: 462.6 kB / 1.904 GB, free: 29.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/5.785, allocations: 3.24 MB / 1.907 GB, free: 29.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/5.785, allocations: 150.2 kB / 1.907 GB, free: 29.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/5.786, allocations: 174 kB / 1.907 GB, free: 29.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/5.795, allocations: 2.735 MB / 1.91 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.931e-05/5.795, allocations: 7.594 kB / 1.91 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005226/5.796, allocations: 79.17 kB / 1.91 GB, free: 28.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000314/5.796, allocations: 158.5 kB / 1.91 GB, free: 28.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/5.804, allocations: 2.328 MB / 1.912 GB, free: 27.57 MB / 458.7 MB 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.03185/5.836, allocations: 11.54 MB / 1.924 GB, free: 19.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/5.843, allocations: 1.865 MB / 1.926 GB, free: 18.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004082/5.848, allocations: 1.108 MB / 1.927 GB, free: 18.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005006/5.853, allocations: 2.43 MB / 1.929 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005056/5.858, allocations: 1.229 MB / 1.93 GB, free: 14.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 7.945e-06/5.858, allocations: 0 / 1.93 GB, free: 14.86 MB / 458.7 MB 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.07969/5.938, allocations: 11.85 MB / 1.942 GB, free: 4.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/5.938, allocations: 268.8 kB / 1.942 GB, free: 4.168 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/5.941, allocations: 1.582 MB / 1.944 GB, free: 2.848 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000772/5.942, allocations: 65.7 kB / 1.944 GB, free: 2.777 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/5.943, allocations: 0.9187 MB / 1.945 GB, free: 1.926 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/5.944, allocations: 0.6625 MB / 1.945 GB, free: 1.254 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/5.945, allocations: 40 kB / 1.945 GB, free: 1.215 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003213/5.945, allocations: 394.4 kB / 1.946 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/5.949, allocations: 1.082 MB / 1.947 GB, free: 15.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/5.954, allocations: 1.574 MB / 1.948 GB, free: 13.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004731/5.958, allocations: 1.352 MB / 1.95 GB, free: 12.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/5.959, allocations: 4 kB / 1.95 GB, free: 12.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0126/5.971, allocations: 3.361 MB / 1.953 GB, free: 9.207 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004937/5.972, allocations: 0.4964 MB / 1.953 GB, free: 8.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/5.972, allocations: 12 kB / 1.953 GB, free: 8.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/5.973, allocations: 308 kB / 1.954 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/5.978, allocations: 0.5617 MB / 1.954 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/5.982, allocations: 3.023 MB / 1.957 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/5.986, allocations: 221 kB / 1.957 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/5.988, allocations: 207.9 kB / 1.958 GB, free: 4.082 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/5.988, allocations: 7.438 kB / 1.958 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01155/5.999, allocations: 3.069 MB / 1.961 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/5.999, allocations: 12.06 kB / 1.961 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/6.001, allocations: 303 kB / 1.961 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004948/6.006, allocations: 0.5656 MB / 1.961 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4213/6.427, allocations: 2.998 MB / 1.964 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/6.431, allocations: 214.4 kB / 1.965 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/6.432, allocations: 202.4 kB / 1.965 GB, free: 43.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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.002593/6.435, allocations: 0.6971 MB / 1.965 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008677/6.436, allocations: 220.7 kB / 1.966 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/6.451, allocations: 3.813 MB / 1.969 GB, free: 43.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/6.451, allocations: 21.84 kB / 1.969 GB, free: 43.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/6.451, allocations: 0 / 1.969 GB, free: 43.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009297/6.461, allocations: 2.969 MB / 1.972 GB, free: 42.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/6.484, allocations: 7.085 MB / 1.979 GB, free: 41.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/6.484, allocations: 6.219 kB / 1.979 GB, free: 41.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004041/6.488, allocations: 464.5 kB / 1.98 GB, free: 41.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/6.49, allocations: 315.4 kB / 1.98 GB, free: 41.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007304/6.491, allocations: 107.7 kB / 1.98 GB, free: 41.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/6.494, allocations: 3.761 MB / 1.984 GB, free: 38.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/6.494, allocations: 8.969 kB / 1.984 GB, free: 38.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/6.509, allocations: 4.561 MB / 1.988 GB, free: 37.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/6.511, allocations: 0.562 MB / 1.989 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/6.512, allocations: 57.41 kB / 1.989 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/6.516, allocations: 135.1 kB / 1.989 GB, free: 37.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008432/6.517, allocations: 186.9 kB / 1.989 GB, free: 37.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006746/6.517, allocations: 180.5 kB / 1.989 GB, free: 37.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003118/6.521, allocations: 1.047 MB / 1.99 GB, free: 37.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/6.521, allocations: 2.078 kB / 1.99 GB, free: 37.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01114/6.532, allocations: 2.005 MB / 1.992 GB, free: 37.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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.01002/6.542, allocations: 2.503 MB / 1.995 GB, free: 37.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01453/6.556, allocations: 4.543 MB / 1.999 GB, free: 36.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/6.556, allocations: 0 / 1.999 GB, free: 36.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004851/6.561, allocations: 1.613 MB / 2.001 GB, free: 36.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/6.571, allocations: 1.066 MB / 2.002 GB, free: 36.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/6.588, allocations: 6.083 MB / 2.008 GB, free: 34.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/6.591, allocations: 1.754 MB / 2.009 GB, free: 33.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01034/6.602, allocations: 1.388 MB / 2.011 GB, free: 33.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/6.604, allocations: 324.5 kB / 2.011 GB, free: 33.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/6.604, allocations: 0 / 2.011 GB, free: 33.54 MB / 474.7 MB Notification: Performance of Templates: time 0.1949/6.799, allocations: 77.33 MB / 2.087 GB, free: 25.62 MB / 474.7 MB