Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.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_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004158/0.004164, allocations: 363.2 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 4.016/4.016, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003579/0.003579, allocations: 228.9 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.6292/0.6292, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.0006343, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1028, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.25/2.353, allocations: 0.6877 GB / 1.368 GB, free: 96.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/2.353, allocations: 86.34 kB / 1.368 GB, free: 96.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.022/5.375, allocations: 0.5478 GB / 1.916 GB, free: 44.11 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.405e-06/5.375, allocations: 0 / 1.916 GB, free: 44.11 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0003164/5.375, allocations: 65.42 kB / 1.916 GB, free: 44.1 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.0146/5.39, allocations: 3.32 MB / 1.919 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/5.39, allocations: 7.562 kB / 1.919 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004826/5.395, allocations: 457.4 kB / 1.919 GB, free: 42.55 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/5.406, allocations: 3.172 MB / 1.923 GB, free: 42.1 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/5.407, allocations: 128.4 kB / 1.923 GB, free: 42.09 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/5.408, allocations: 165.1 kB / 1.923 GB, free: 42.09 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00803/5.416, allocations: 2.635 MB / 1.925 GB, free: 41.66 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.228e-05/5.416, allocations: 8.781 kB / 1.925 GB, free: 41.66 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/5.416, allocations: 70.53 kB / 1.925 GB, free: 41.66 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002976/5.417, allocations: 158.8 kB / 1.926 GB, free: 41.65 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007563/5.424, allocations: 2.241 MB / 1.928 GB, free: 41.64 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.03481/5.459, allocations: 10.99 MB / 1.939 GB, free: 35.74 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/5.467, allocations: 1.795 MB / 1.94 GB, free: 35.43 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/5.472, allocations: 1.066 MB / 1.941 GB, free: 35.42 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005871/5.478, allocations: 2.43 MB / 1.944 GB, free: 33.43 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005413/5.483, allocations: 1.181 MB / 1.945 GB, free: 33.31 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=162): time 9.357e-06/5.483, allocations: 0 / 1.945 GB, free: 33.31 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.07321/5.557, allocations: 10.66 MB / 1.955 GB, free: 31.73 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/5.557, allocations: 259 kB / 1.956 GB, free: 31.44 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/5.562, allocations: 1.522 MB / 1.957 GB, free: 31.26 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008813/5.563, allocations: 65.2 kB / 1.957 GB, free: 31.23 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/5.564, allocations: 0.8685 MB / 1.958 GB, free: 30.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/5.566, allocations: 0.6206 MB / 1.959 GB, free: 30.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/5.567, allocations: 42.41 kB / 1.959 GB, free: 30.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003128/5.568, allocations: 391.3 kB / 1.959 GB, free: 30.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/5.572, allocations: 1.026 MB / 1.96 GB, free: 30.19 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/5.576, allocations: 1.486 MB / 1.961 GB, free: 29.75 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/5.58, allocations: 1.306 MB / 1.963 GB, free: 29.68 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/5.58, allocations: 2.281 kB / 1.963 GB, free: 29.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.009651/5.589, allocations: 3.093 MB / 1.966 GB, free: 29.39 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003234/5.59, allocations: 472.7 kB / 1.966 GB, free: 28.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/5.59, allocations: 10.19 kB / 1.966 GB, free: 28.87 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/5.59, allocations: 195.4 kB / 1.966 GB, free: 28.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/5.595, allocations: 0.5426 MB / 1.967 GB, free: 28.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/5.597, allocations: 2.337 MB / 1.969 GB, free: 26.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/5.601, allocations: 214.4 kB / 1.969 GB, free: 26.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008902/5.602, allocations: 191.6 kB / 1.97 GB, free: 26.75 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/5.602, allocations: 9.438 kB / 1.97 GB, free: 26.75 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008465/5.611, allocations: 2.82 MB / 1.972 GB, free: 26.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/5.611, allocations: 9.25 kB / 1.972 GB, free: 26.44 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/5.611, allocations: 193.5 kB / 1.972 GB, free: 26.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/5.616, allocations: 0.5403 MB / 1.973 GB, free: 26.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/5.618, allocations: 2.319 MB / 1.975 GB, free: 24.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/5.621, allocations: 215.1 kB / 1.975 GB, free: 24.13 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007527/5.622, allocations: 184.9 kB / 1.976 GB, free: 24.11 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.002178/5.624, allocations: 0.6957 MB / 1.976 GB, free: 23.64 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/5.625, allocations: 208.2 kB / 1.977 GB, free: 23.54 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/5.637, allocations: 3.528 MB / 1.98 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/5.637, allocations: 20.38 kB / 1.98 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/5.638, allocations: 0 / 1.98 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007256/5.645, allocations: 2.768 MB / 1.983 GB, free: 20.94 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/5.666, allocations: 7.62 MB / 1.99 GB, free: 17.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/5.666, allocations: 7.844 kB / 1.99 GB, free: 17.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/5.669, allocations: 445.5 kB / 1.991 GB, free: 17.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/5.67, allocations: 195.2 kB / 1.991 GB, free: 17.02 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005961/5.671, allocations: 96.09 kB / 1.991 GB, free: 16.99 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/5.673, allocations: 3.078 MB / 1.994 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/5.673, allocations: 12.25 kB / 1.994 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/5.684, allocations: 4.3 MB / 1.998 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/5.686, allocations: 0.5476 MB / 1.999 GB, free: 11.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008411/5.687, allocations: 56.89 kB / 1.999 GB, free: 11.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/5.69, allocations: 130.2 kB / 1.999 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/5.691, allocations: 184 kB / 1.999 GB, free: 11.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/5.691, allocations: 168.7 kB / 1.999 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002181/5.694, allocations: 1.01 MB / 2 GB, free: 11.32 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.21e-07/5.694, allocations: 1.594 kB / 2 GB, free: 11.32 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008832/5.702, allocations: 1.902 MB / 2.002 GB, free: 10.9 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.007993/5.71, allocations: 2.359 MB / 2.004 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01236/5.723, allocations: 4.407 MB / 2.009 GB, free: 6.32 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/5.723, allocations: 0 / 2.009 GB, free: 6.32 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003928/5.727, allocations: 1.566 MB / 2.01 GB, free: 4.906 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008855/5.736, allocations: 0.9373 MB / 2.011 GB, free: 4.215 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/5.751, allocations: 5.803 MB / 2.017 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/5.754, allocations: 1.719 MB / 2.018 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009994/5.764, allocations: 1.346 MB / 2.02 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002448/5.766, allocations: 308.4 kB / 2.02 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/5.766, allocations: 0 / 2.02 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.5653/6.332, allocations: 71.16 MB / 2.089 GB, free: 52.81 MB / 0.5105 GB