Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 252.6 MB / 265.2 MB, free: 5.625 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 179.8 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 94.7 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.058e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/2.2, allocations: 457.7 MB / 1.342 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/2.2, allocations: 97.34 kB / 1.342 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.58/58.78, allocations: 9.98 GB / 11.32 GB, free: 81.58 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.564e-06/58.78, allocations: 0 / 11.32 GB, free: 81.58 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003421/58.78, allocations: 346.5 kB / 11.32 GB, free: 81.51 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05826/58.84, allocations: 11.13 MB / 11.33 GB, free: 76.45 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/58.84, allocations: 9.156 kB / 11.33 GB, free: 76.45 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/58.86, allocations: 2.219 MB / 11.34 GB, free: 75.62 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08771/58.95, allocations: 18.61 MB / 11.35 GB, free: 73.27 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009637/58.95, allocations: 0.5302 MB / 11.35 GB, free: 73.26 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/58.95, allocations: 0.7139 MB / 11.35 GB, free: 73.26 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/58.99, allocations: 13.05 MB / 11.37 GB, free: 72.61 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/58.99, allocations: 7.531 kB / 11.37 GB, free: 72.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003488/59, allocations: 244.8 kB / 11.37 GB, free: 72.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/59, allocations: 152.9 kB / 11.37 GB, free: 72.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0429/59.04, allocations: 17.47 MB / 11.38 GB, free: 72.52 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.1723/59.21, allocations: 69.91 MB / 11.45 GB, free: 27.68 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/59.23, allocations: 9.375 MB / 11.46 GB, free: 19.21 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01814/59.25, allocations: 8.419 MB / 11.47 GB, free: 11.62 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.1051/59.36, allocations: 29.91 MB / 11.5 GB, free: 4.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167/60.52, allocations: 8.055 MB / 11.51 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08703/60.61, allocations: 15.23 MB / 11.52 GB, free: 111.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 4.636e-05/60.61, allocations: 0 / 11.52 GB, free: 111.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.4123/61.02, allocations: 74.67 MB / 11.6 GB, free: 105.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/61.02, allocations: 115.2 kB / 11.6 GB, free: 105.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03786/61.06, allocations: 11.84 MB / 11.61 GB, free: 104.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00441/61.06, allocations: 184.6 kB / 11.61 GB, free: 104.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01121/61.08, allocations: 6.024 MB / 11.61 GB, free: 103.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005718/61.08, allocations: 1.951 MB / 11.62 GB, free: 102.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004022/61.09, allocations: 145.4 kB / 11.62 GB, free: 102.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0007869/61.09, allocations: 0.6006 MB / 11.62 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02236/61.11, allocations: 7.737 MB / 11.62 GB, free: 102.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02519/61.13, allocations: 10.32 MB / 11.63 GB, free: 99.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02473/61.16, allocations: 8.669 MB / 11.64 GB, free: 99.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/61.16, allocations: 14.41 kB / 11.64 GB, free: 99.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.09329/61.25, allocations: 26.03 MB / 11.67 GB, free: 98.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006151/61.26, allocations: 29.65 MB / 11.7 GB, free: 67.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002445/61.26, allocations: 44.53 kB / 11.7 GB, free: 67.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61/62.87, allocations: 170.4 MB / 11.86 GB, free: 40.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01896/62.89, allocations: 1.694 MB / 11.86 GB, free: 38.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08761/62.98, allocations: 26.57 MB / 11.89 GB, free: 17.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03233/63.01, allocations: 1.201 MB / 11.89 GB, free: 16.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005349/63.01, allocations: 0.7988 MB / 11.89 GB, free: 15.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/63.01, allocations: 4 kB / 11.89 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08789/63.1, allocations: 25.08 MB / 11.92 GB, free: 15.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/63.1, allocations: 52.06 kB / 11.92 GB, free: 15.47 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716/65.82, allocations: 170.6 MB / 12.08 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/65.83, allocations: 1.68 MB / 12.09 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1041/65.94, allocations: 30.92 MB / 12.12 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03098/65.97, allocations: 1.172 MB / 12.12 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005599/65.97, allocations: 0.761 MB / 12.12 GB, free: 130.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.00809/65.98, allocations: 0.5235 MB / 12.12 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007168/65.99, allocations: 1.203 MB / 12.12 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09522/66.09, allocations: 23.22 MB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001749/66.09, allocations: 75.38 kB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/66.09, allocations: 0 / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06503/66.15, allocations: 17.71 MB / 12.16 GB, free: 128.6 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.2471/66.4, allocations: 53.93 MB / 12.21 GB, free: 122 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.891e-05/66.4, allocations: 7.656 kB / 12.21 GB, free: 122 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0115/66.41, allocations: 1.192 MB / 12.21 GB, free: 122 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4207/66.83, allocations: 48.87 MB / 12.26 GB, free: 100.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002309/66.83, allocations: 198.7 kB / 12.26 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04075/66.87, allocations: 14.71 MB / 12.28 GB, free: 89.81 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/66.87, allocations: 9.969 kB / 12.28 GB, free: 89.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1083/66.98, allocations: 32.61 MB / 12.31 GB, free: 72.11 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01345/67, allocations: 2.912 MB / 12.31 GB, free: 70.36 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006493/67, allocations: 133.3 kB / 12.31 GB, free: 70.32 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02248/67.02, allocations: 0.9329 MB / 12.31 GB, free: 69.77 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002862/67.03, allocations: 460.2 kB / 12.31 GB, free: 69.54 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002301/67.03, allocations: 286.9 kB / 12.31 GB, free: 69.35 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02539/67.06, allocations: 9.034 MB / 12.32 GB, free: 63.73 MB / 1.182 GB Notification: Performance of sort global known variables: time 8.32e-07/67.06, allocations: 0 / 12.32 GB, free: 63.73 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06176/67.12, allocations: 6.516 MB / 12.33 GB, free: 57.97 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01171/67.13, allocations: 5.003 MB / 12.33 GB, free: 53.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.12/67.25, allocations: 33.35 MB / 12.36 GB, free: 31.82 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/67.25, allocations: 1.094 kB / 12.36 GB, free: 31.82 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03136/67.28, allocations: 9.167 MB / 12.37 GB, free: 24.75 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05314/67.33, allocations: 6.268 MB / 12.38 GB, free: 18.84 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.273/69.61, allocations: 21.25 MB / 12.4 GB, free: 118.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0197/69.63, allocations: 7.179 MB / 12.41 GB, free: 117.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04895/69.67, allocations: 6.352 MB / 12.41 GB, free: 117.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004522/69.68, allocations: 0.7151 MB / 12.41 GB, free: 117.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.743e-06/69.68, allocations: 0 / 12.41 GB, free: 117.6 MB / 1.182 GB Notification: Performance of Templates: time 2.166/71.85, allocations: 435.9 MB / 12.84 GB, free: 201 MB / 1.261 GB