Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.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.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002746/0.002756, allocations: 350.8 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.483/3.483, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003672/0.003672, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.4872/0.4872, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006989/0.0006992, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09133, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.66/2.752, allocations: 0.6811 GB / 1.288 GB, free: 107.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/2.752, allocations: 85.64 kB / 1.288 GB, free: 107.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.018/5.77, allocations: 0.5476 GB / 1.835 GB, free: 35.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.577e-06/5.77, allocations: 5.391 kB / 1.835 GB, free: 35.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003107/5.77, allocations: 64.53 kB / 1.836 GB, free: 35.18 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0147/5.785, allocations: 3.296 MB / 1.839 GB, free: 33.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/5.785, allocations: 9.562 kB / 1.839 GB, free: 33.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/5.79, allocations: 448.6 kB / 1.839 GB, free: 33.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/5.802, allocations: 3.165 MB / 1.842 GB, free: 33.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/5.803, allocations: 136 kB / 1.842 GB, free: 33.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/5.804, allocations: 158.5 kB / 1.843 GB, free: 33.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/5.811, allocations: 2.622 MB / 1.845 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-05/5.811, allocations: 7.188 kB / 1.845 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/5.812, allocations: 71.09 kB / 1.845 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/5.812, allocations: 154.3 kB / 1.845 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006709/5.819, allocations: 2.241 MB / 1.848 GB, free: 32.77 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.02258/5.841, allocations: 10.95 MB / 1.858 GB, free: 26.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/5.846, allocations: 1.791 MB / 1.86 GB, free: 26.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/5.849, allocations: 1.056 MB / 1.861 GB, free: 26.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003706/5.853, allocations: 2.425 MB / 1.863 GB, free: 24.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003094/5.856, allocations: 1.171 MB / 1.864 GB, free: 24.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 6.492e-06/5.856, allocations: 3.969 kB / 1.864 GB, free: 24.45 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.0438/5.9, allocations: 10.64 MB / 1.875 GB, free: 22.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/5.9, allocations: 261.4 kB / 1.875 GB, free: 22.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/5.903, allocations: 1.514 MB / 1.877 GB, free: 22.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006968/5.903, allocations: 60.64 kB / 1.877 GB, free: 22.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008892/5.904, allocations: 0.8645 MB / 1.878 GB, free: 22.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009194/5.905, allocations: 0.6127 MB / 1.878 GB, free: 21.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/5.905, allocations: 39.22 kB / 1.878 GB, free: 21.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/5.906, allocations: 391.9 kB / 1.879 GB, free: 21.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/5.908, allocations: 1.019 MB / 1.88 GB, free: 21.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/5.912, allocations: 1.479 MB / 1.881 GB, free: 20.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/5.915, allocations: 1.292 MB / 1.882 GB, free: 20.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/5.915, allocations: 9.641 kB / 1.882 GB, free: 20.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009469/5.925, allocations: 3.114 MB / 1.885 GB, free: 20.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003462/5.925, allocations: 470.2 kB / 1.886 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/5.925, allocations: 11.75 kB / 1.886 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/5.926, allocations: 190.2 kB / 1.886 GB, free: 20 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/5.931, allocations: 0.5484 MB / 1.886 GB, free: 20 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/5.932, allocations: 2.326 MB / 1.889 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/5.937, allocations: 213.3 kB / 1.889 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009447/5.938, allocations: 189.8 kB / 1.889 GB, free: 17.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/5.938, allocations: 4.812 kB / 1.889 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008808/5.947, allocations: 2.84 MB / 1.892 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/5.947, allocations: 14.59 kB / 1.892 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/5.947, allocations: 188.8 kB / 1.892 GB, free: 17.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/5.952, allocations: 0.5366 MB / 1.893 GB, free: 17.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/5.953, allocations: 2.33 MB / 1.895 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/5.958, allocations: 209.9 kB / 1.895 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009227/5.958, allocations: 184.9 kB / 1.895 GB, free: 15.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.002443/5.961, allocations: 0.6903 MB / 1.896 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007405/5.962, allocations: 205.3 kB / 1.896 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/5.974, allocations: 3.544 MB / 1.9 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/5.974, allocations: 21.25 kB / 1.9 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/5.974, allocations: 3.188 kB / 1.9 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006346/5.98, allocations: 2.778 MB / 1.902 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/6, allocations: 7.607 MB / 1.91 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/6, allocations: 11.38 kB / 1.91 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/6.003, allocations: 443.1 kB / 1.91 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000693/6.004, allocations: 192.8 kB / 1.91 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004339/6.004, allocations: 100.2 kB / 1.91 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/6.008, allocations: 3.074 MB / 1.913 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/6.008, allocations: 12.81 kB / 1.913 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/6.018, allocations: 4.298 MB / 1.918 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/6.02, allocations: 0.5383 MB / 1.918 GB, free: 21.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006008/6.021, allocations: 57.94 kB / 1.918 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/6.023, allocations: 126.7 kB / 1.918 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/6.023, allocations: 190.3 kB / 1.919 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003907/6.024, allocations: 164.9 kB / 1.919 GB, free: 21.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002032/6.026, allocations: 1.006 MB / 1.92 GB, free: 21.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/6.026, allocations: 0 / 1.92 GB, free: 21.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008035/6.034, allocations: 1.896 MB / 1.922 GB, free: 20.88 MB / 474.7 MB 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: 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 (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.007189/6.041, allocations: 2.361 MB / 1.924 GB, free: 20.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/6.053, allocations: 4.273 MB / 1.928 GB, free: 17.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/6.053, allocations: 0 / 1.928 GB, free: 17.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003602/6.056, allocations: 1.519 MB / 1.93 GB, free: 16.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007989/6.064, allocations: 0.9447 MB / 1.93 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/6.078, allocations: 5.756 MB / 1.936 GB, free: 10.63 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/6.081, allocations: 1.716 MB / 1.938 GB, free: 9.234 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01475/6.095, allocations: 1.346 MB / 1.939 GB, free: 8.301 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/6.098, allocations: 305.4 kB / 1.939 GB, free: 8.031 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/6.099, allocations: 0 / 1.939 GB, free: 8.031 MB / 474.7 MB Notification: Performance of Templates: time 0.5682/6.667, allocations: 70.89 MB / 2.009 GB, free: 43.71 MB / 474.7 MB