Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.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.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004254/0.004261, allocations: 363 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.644/3.644, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003696/0.003695, allocations: 229.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.506/0.506, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 20 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09819, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.153/2.251, allocations: 0.6878 GB / 1.368 GB, free: 95.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/2.251, allocations: 89.39 kB / 1.368 GB, free: 95.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.344/5.595, allocations: 0.6122 GB / 1.98 GB, free: 39.36 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.485e-06/5.595, allocations: 4 kB / 1.98 GB, free: 39.36 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0003464/5.596, allocations: 66.86 kB / 1.98 GB, free: 39.34 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01558/5.611, allocations: 3.495 MB / 1.984 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/5.611, allocations: 10.12 kB / 1.984 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/5.616, allocations: 461.5 kB / 1.984 GB, free: 37.19 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/5.628, allocations: 3.254 MB / 1.987 GB, free: 35.93 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/5.629, allocations: 137.5 kB / 1.987 GB, free: 35.88 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/5.63, allocations: 180 kB / 1.988 GB, free: 35.82 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008142/5.638, allocations: 2.757 MB / 1.99 GB, free: 34.59 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/5.638, allocations: 7.625 kB / 1.99 GB, free: 34.58 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/5.638, allocations: 80.05 kB / 1.99 GB, free: 34.53 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002966/5.639, allocations: 154.6 kB / 1.991 GB, free: 34.51 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007596/5.646, allocations: 2.342 MB / 1.993 GB, free: 33.71 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.02624/5.673, allocations: 11.55 MB / 2.004 GB, free: 25.45 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005365/5.678, allocations: 1.87 MB / 2.006 GB, free: 24.01 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/5.681, allocations: 1.121 MB / 2.007 GB, free: 23.05 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003754/5.685, allocations: 2.436 MB / 2.009 GB, free: 20.43 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003627/5.689, allocations: 1.241 MB / 2.011 GB, free: 19.17 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=172): time 5.761e-06/5.689, allocations: 0 / 2.011 GB, free: 19.17 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.05311/5.742, allocations: 11.86 MB / 2.022 GB, free: 7.117 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/5.742, allocations: 257.3 kB / 2.022 GB, free: 6.809 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/5.745, allocations: 1.588 MB / 2.024 GB, free: 5.223 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007435/5.746, allocations: 65.7 kB / 2.024 GB, free: 5.152 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/5.747, allocations: 0.9205 MB / 2.025 GB, free: 4.219 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/5.748, allocations: 0.6778 MB / 2.026 GB, free: 3.531 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/5.748, allocations: 44 kB / 2.026 GB, free: 3.488 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001704/5.748, allocations: 398.5 kB / 2.026 GB, free: 3.094 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/5.752, allocations: 1.078 MB / 2.027 GB, free: 2.012 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/5.756, allocations: 1.582 MB / 2.029 GB, free: 252 kB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/5.76, allocations: 1.376 MB / 2.03 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/5.76, allocations: 4 kB / 2.03 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01476/5.775, allocations: 3.333 MB / 2.033 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007978/5.776, allocations: 0.498 MB / 2.034 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.897e-05/5.776, allocations: 12 kB / 2.034 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/5.778, allocations: 308 kB / 2.034 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008021/5.786, allocations: 0.5713 MB / 2.035 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/5.791, allocations: 3.008 MB / 2.038 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006615/5.798, allocations: 215.8 kB / 2.038 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/5.799, allocations: 211.9 kB / 2.038 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/5.799, allocations: 4 kB / 2.038 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01542/5.815, allocations: 3.057 MB / 2.041 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-05/5.815, allocations: 12 kB / 2.041 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/5.817, allocations: 300.3 kB / 2.041 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007021/5.824, allocations: 0.5578 MB / 2.042 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4191/6.243, allocations: 3.006 MB / 2.045 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/6.247, allocations: 217.8 kB / 2.045 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/6.248, allocations: 206.3 kB / 2.045 GB, free: 53.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.002622/6.251, allocations: 0.7077 MB / 2.046 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008525/6.252, allocations: 226.7 kB / 2.046 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/6.268, allocations: 3.8 MB / 2.05 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/6.268, allocations: 20.31 kB / 2.05 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/6.268, allocations: 3.609 kB / 2.05 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009091/6.277, allocations: 2.957 MB / 2.053 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/6.299, allocations: 7.086 MB / 2.06 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/6.299, allocations: 5.75 kB / 2.06 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004172/6.304, allocations: 459.1 kB / 2.06 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/6.305, allocations: 322.5 kB / 2.06 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007187/6.306, allocations: 109.4 kB / 2.06 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/6.309, allocations: 3.758 MB / 2.064 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/6.309, allocations: 9.594 kB / 2.064 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/6.323, allocations: 4.571 MB / 2.069 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/6.325, allocations: 0.5675 MB / 2.069 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/6.326, allocations: 63.78 kB / 2.069 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/6.33, allocations: 130.8 kB / 2.069 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007063/6.33, allocations: 189 kB / 2.069 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000578/6.331, allocations: 187.9 kB / 2.07 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002729/6.334, allocations: 1.045 MB / 2.071 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.412e-06/6.334, allocations: 2.156 kB / 2.071 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01256/6.346, allocations: 2.011 MB / 2.073 GB, free: 47.02 MB / 0.5105 GB 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: 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 (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.01409/6.36, allocations: 2.513 MB / 2.075 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02184/6.382, allocations: 4.66 MB / 2.08 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.166e-05/6.382, allocations: 0 / 2.08 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007359/6.39, allocations: 1.672 MB / 2.081 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/6.405, allocations: 1.067 MB / 2.082 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/6.429, allocations: 6.104 MB / 2.088 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00362/6.433, allocations: 1.759 MB / 2.09 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0169/6.45, allocations: 1.389 MB / 2.091 GB, free: 43.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00382/6.454, allocations: 330 kB / 2.092 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.245e-06/6.454, allocations: 1.875 kB / 2.092 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.1762/6.63, allocations: 77.67 MB / 2.168 GB, free: 38.13 MB / 0.5105 GB