Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified4.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.513/4.513, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002395, allocations: 354.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.8/3.8, allocations: 410.7 MB / 1.112 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 175.6 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004756, allocations: 11.98 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5598, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.8987/1.459, allocations: 329.5 MB / 1.782 GB, free: 68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1117/1.57, allocations: 72.14 MB / 1.853 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01496/1.585, allocations: 371.3 kB / 1.853 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01573/1.601, allocations: 4.451 MB / 1.858 GB, free: 66.06 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.04482/1.646, allocations: 13.55 MB / 1.871 GB, free: 58.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0367/1.683, allocations: 11.58 MB / 1.882 GB, free: 52.35 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0433/1.726, allocations: 38.24 MB / 1.92 GB, free: 22.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/1.746, allocations: 14.41 MB / 1.934 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02544/1.772, allocations: 12.44 MB / 1.946 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02785/1.8, allocations: 13.52 MB / 1.959 GB, free: 16 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.00506/1.805, allocations: 1.003 MB / 1.96 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/1.822, allocations: 3.757 MB / 1.964 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.007503/1.829, allocations: 4.244 MB / 1.968 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.007477/1.837, allocations: 2.935 MB / 1.971 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03034/1.867, allocations: 19.27 MB / 1.989 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.032e-06/1.867, allocations: 0 / 1.989 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.968e-06/1.867, allocations: 4 kB / 1.989 GB, free: 2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004238/1.868, allocations: 0 / 1.989 GB, free: 2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05041/1.918, allocations: 18.16 MB / 2.007 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.918, allocations: 15.45 kB / 2.007 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.929, allocations: 2.305 MB / 2.009 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03541/1.965, allocations: 13.39 MB / 2.022 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/1.966, allocations: 0.7377 MB / 2.023 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003029/1.969, allocations: 0.7851 MB / 2.024 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03603/2.005, allocations: 14.9 MB / 2.039 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/2.006, allocations: 15.88 kB / 2.039 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/2.007, allocations: 284 kB / 2.039 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/2.007, allocations: 187.9 kB / 2.039 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04549/2.053, allocations: 19.35 MB / 2.058 GB, free: 11.93 MB / 0.9792 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 1.217/3.27, allocations: 77.55 MB / 2.134 GB, free: 414 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02174/3.292, allocations: 10.61 MB / 2.144 GB, free: 410.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/3.31, allocations: 9.13 MB / 2.153 GB, free: 406.7 MB / 1.042 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 evalFunc (simulation): time 0.0746/3.384, allocations: 32.74 MB / 2.185 GB, free: 386.7 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01605/3.401, allocations: 8.861 MB / 2.194 GB, free: 381.3 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03481/3.435, allocations: 9.838 MB / 2.203 GB, free: 375.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 2.667e-05/3.435, allocations: 1.094 kB / 2.203 GB, free: 375.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 0.9971/4.432, allocations: 197.2 MB / 2.396 GB, free: 179.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/4.433, allocations: 116.2 kB / 2.396 GB, free: 179.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02121/4.454, allocations: 13.02 MB / 2.409 GB, free: 166.3 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002496/4.456, allocations: 181.7 kB / 2.409 GB, free: 166.1 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006184/4.463, allocations: 6.59 MB / 2.415 GB, free: 159.8 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003648/4.466, allocations: 2.049 MB / 2.417 GB, free: 157.8 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/4.468, allocations: 152 kB / 2.417 GB, free: 157.6 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003893/4.468, allocations: 0.6134 MB / 2.418 GB, free: 157 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0214/4.489, allocations: 9.36 MB / 2.427 GB, free: 147.6 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02351/4.513, allocations: 11.88 MB / 2.439 GB, free: 134.7 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02217/4.535, allocations: 10.27 MB / 2.449 GB, free: 124.4 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.503e-05/4.535, allocations: 16 kB / 2.449 GB, free: 124.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 1.276/5.811, allocations: 123.9 MB / 2.57 GB, free: 371.7 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008674/5.812, allocations: 1.74 MB / 2.571 GB, free: 369.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/5.812, allocations: 50.5 kB / 2.571 GB, free: 369.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8891/6.702, allocations: 143.5 MB / 2.712 GB, free: 280.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/6.715, allocations: 2.062 MB / 2.714 GB, free: 278.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1784/6.893, allocations: 78.78 MB / 2.791 GB, free: 199.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/6.912, allocations: 1.246 MB / 2.792 GB, free: 198.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003448/6.916, allocations: 0.7802 MB / 2.792 GB, free: 197.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/6.916, allocations: 4 kB / 2.792 GB, free: 197.3 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6952/7.611, allocations: 122.8 MB / 2.912 GB, free: 74.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/7.611, allocations: 52 kB / 2.912 GB, free: 74.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446/9.057, allocations: 143.3 MB / 3.052 GB, free: 345.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/9.07, allocations: 2.042 MB / 3.054 GB, free: 345.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2023/9.273, allocations: 82.72 MB / 3.135 GB, free: 265.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/9.291, allocations: 1.235 MB / 3.136 GB, free: 264.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003422/9.295, allocations: 0.7529 MB / 3.137 GB, free: 263.9 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (769): * Single equations (assignments): 755 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009758/9.305, allocations: 3.349 MB / 3.14 GB, free: 260.6 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003587/9.308, allocations: 1.275 MB / 3.142 GB, free: 260 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2292/9.537, allocations: 49.33 MB / 3.19 GB, free: 211.1 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.813e-05/9.537, allocations: 76 kB / 3.19 GB, free: 211 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.981e-05/9.538, allocations: 28 kB / 3.19 GB, free: 211 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2099/9.747, allocations: 43.69 MB / 3.233 GB, free: 167.2 MB / 1.042 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 postOpt removeSimpleEquations (simulation): time 0.2502/9.998, allocations: 64.21 MB / 3.295 GB, free: 103 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.608e-05/9.998, allocations: 4 kB / 3.295 GB, free: 103 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009074/10.01, allocations: 1.399 MB / 3.297 GB, free: 101.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2282/10.24, allocations: 42.76 MB / 3.338 GB, free: 58.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001826/10.24, allocations: 207.8 kB / 3.339 GB, free: 58.55 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08433/10.32, allocations: 35.57 MB / 3.373 GB, free: 22.83 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.099e-06/10.32, allocations: 8.188 kB / 3.373 GB, free: 22.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8253/11.15, allocations: 56.37 MB / 3.428 GB, free: 362.8 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00917/11.16, allocations: 2.854 MB / 3.431 GB, free: 362.1 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00368/11.16, allocations: 131 kB / 3.431 GB, free: 362 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01545/11.18, allocations: 1.058 MB / 3.432 GB, free: 361.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002823/11.18, allocations: 0.4889 MB / 3.433 GB, free: 361.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001655/11.18, allocations: 299.4 kB / 3.433 GB, free: 361.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01985/11.2, allocations: 8.805 MB / 3.442 GB, free: 358.9 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.039e-06/11.2, allocations: 0 / 3.442 GB, free: 358.9 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04518/11.24, allocations: 7.312 MB / 3.449 GB, free: 358.4 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004315/11.25, allocations: 1.537 MB / 3.45 GB, free: 358.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.09746/11.35, allocations: 37.72 MB / 3.487 GB, free: 331.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/11.35, allocations: 4 kB / 3.487 GB, free: 331.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02678/11.37, allocations: 10.67 MB / 3.498 GB, free: 322.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03655/11.41, allocations: 6.935 MB / 3.504 GB, free: 316 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05841/11.47, allocations: 33.11 MB / 3.537 GB, free: 283.6 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/11.48, allocations: 7.804 MB / 3.544 GB, free: 275.9 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02376/11.5, allocations: 4.06 MB / 3.548 GB, free: 272.1 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004795/11.51, allocations: 1.038 MB / 3.549 GB, free: 271 MB / 1.042 GB Notification: Performance of SimCode: time 1.681e-06/11.51, allocations: 1.312 kB / 3.549 GB, free: 271 MB / 1.042 GB Notification: Performance of Templates: time 1.31/12.82, allocations: 401.6 MB / 3.941 GB, free: 278.6 MB / 1.042 GB