Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.633/4.633, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 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.002518/0.002518, allocations: 355.6 kB / 0.6447 GB, free: 185.6 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 4.032/4.032, allocations: 410.7 MB / 1.113 GB, free: 5.945 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.001791/0.001791, allocations: 179.1 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004774, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6826, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 1.061/1.744, allocations: 329.5 MB / 1.783 GB, free: 67.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1318/1.875, allocations: 72.14 MB / 1.854 GB, free: 66.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01612/1.892, allocations: 376.3 kB / 1.854 GB, free: 66.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01982/1.912, allocations: 4.453 MB / 1.858 GB, free: 65.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.05239/1.964, allocations: 13.54 MB / 1.872 GB, free: 58.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.04357/2.008, allocations: 11.61 MB / 1.883 GB, free: 52.28 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04506/2.053, allocations: 32.64 MB / 1.915 GB, free: 27.59 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/2.076, allocations: 12.61 MB / 1.927 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0252/2.101, allocations: 9.717 MB / 1.937 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02066/2.122, allocations: 9.05 MB / 1.945 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.004552/2.126, allocations: 0.4922 MB / 1.946 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/2.143, allocations: 2.855 MB / 1.949 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.006685/2.15, allocations: 2.894 MB / 1.951 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.007545/2.157, allocations: 2.635 MB / 1.954 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0273/2.185, allocations: 14.4 MB / 1.968 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/2.185, allocations: 0 / 1.968 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/2.185, allocations: 0 / 1.968 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006397/2.185, allocations: 0 / 1.968 GB, free: 7.328 MB / 0.8855 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.04648/2.232, allocations: 13.82 MB / 1.982 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/2.232, allocations: 11.62 kB / 1.982 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/2.246, allocations: 2.219 MB / 1.984 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03712/2.284, allocations: 11.07 MB / 1.995 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003097/2.287, allocations: 0.7873 MB / 1.995 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/2.289, allocations: 0.6836 MB / 1.996 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/2.317, allocations: 8.959 MB / 2.005 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/2.317, allocations: 11.88 kB / 2.005 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/2.318, allocations: 252 kB / 2.005 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/2.319, allocations: 160 kB / 2.005 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/2.345, allocations: 7.416 MB / 2.012 GB, free: 9.93 MB / 0.9323 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.1068/2.452, allocations: 50.45 MB / 2.062 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/2.469, allocations: 5.55 MB / 2.067 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/2.481, allocations: 3.998 MB / 2.071 GB, free: 11.12 MB / 0.9948 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.04767/2.529, allocations: 13.45 MB / 2.084 GB, free: 13.51 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01104/2.54, allocations: 3.729 MB / 2.088 GB, free: 9.746 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01266/2.553, allocations: 1.864 MB / 2.09 GB, free: 7.883 MB / 1.01 GB Notification: Performance of pre-optimization done (n=320): time 1.585e-05/2.553, allocations: 0 / 2.09 GB, free: 7.883 MB / 1.01 GB Notification: Performance of matching and sorting (n=506): time 1.524/4.076, allocations: 53.62 MB / 2.142 GB, free: 419.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/4.077, allocations: 101.4 kB / 2.142 GB, free: 419.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03068/4.107, allocations: 12.52 MB / 2.154 GB, free: 415.6 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001885/4.109, allocations: 161 kB / 2.154 GB, free: 415.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.008526/4.118, allocations: 6.154 MB / 2.16 GB, free: 411 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003025/4.121, allocations: 1.709 MB / 2.162 GB, free: 409.8 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/4.122, allocations: 145 kB / 2.162 GB, free: 409.7 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005391/4.123, allocations: 0.5931 MB / 2.163 GB, free: 409.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01914/4.142, allocations: 5.154 MB / 2.168 GB, free: 407.8 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02114/4.163, allocations: 7.811 MB / 2.175 GB, free: 402 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/4.184, allocations: 5.876 MB / 2.181 GB, free: 399.1 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-05/4.184, allocations: 18.44 kB / 2.181 GB, free: 399.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.06731/4.251, allocations: 17.21 MB / 2.198 GB, free: 387.1 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001143/4.252, allocations: 1.93 MB / 2.2 GB, free: 384.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.646e-05/4.252, allocations: 60 kB / 2.2 GB, free: 384.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02636/4.279, allocations: 4.662 MB / 2.205 GB, free: 379.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02022/4.299, allocations: 2.044 MB / 2.207 GB, free: 377.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/4.317, allocations: 10.89 MB / 2.217 GB, free: 366.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02197/4.339, allocations: 1.223 MB / 2.218 GB, free: 365.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/4.341, allocations: 467.7 kB / 2.219 GB, free: 365.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/4.341, allocations: 4 kB / 2.219 GB, free: 365.2 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05699/4.398, allocations: 16.11 MB / 2.235 GB, free: 349.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/4.398, allocations: 60 kB / 2.235 GB, free: 349.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02111/4.42, allocations: 4.379 MB / 2.239 GB, free: 344.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/4.438, allocations: 2.02 MB / 2.241 GB, free: 342.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03375/4.471, allocations: 15.05 MB / 2.256 GB, free: 327.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02102/4.492, allocations: 1.205 MB / 2.257 GB, free: 326.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/4.495, allocations: 435.8 kB / 2.257 GB, free: 325.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * 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: 2 * 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: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.009194/4.504, allocations: 3.102 MB / 2.26 GB, free: 322.6 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003769/4.508, allocations: 1.195 MB / 2.261 GB, free: 321.4 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05772/4.565, allocations: 14.97 MB / 2.276 GB, free: 306.4 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04859/4.614, allocations: 12.29 MB / 2.288 GB, free: 294 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/4.614, allocations: 0 / 2.288 GB, free: 294 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008905/4.623, allocations: 2.312 MB / 2.29 GB, free: 291.7 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004218/4.627, allocations: 96 kB / 2.29 GB, free: 291.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01881/4.646, allocations: 1.047 MB / 2.291 GB, free: 290.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/4.648, allocations: 0.5637 MB / 2.292 GB, free: 290 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06149/4.71, allocations: 13.46 MB / 2.305 GB, free: 276.5 MB / 1.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06085/4.771, allocations: 16.89 MB / 2.322 GB, free: 259.5 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01724/4.788, allocations: 4.901 MB / 2.326 GB, free: 254.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01889/4.807, allocations: 8.45 MB / 2.335 GB, free: 246.2 MB / 1.042 GB Notification: Performance of Backend: time 1.002e-06/4.807, allocations: 4 kB / 2.335 GB, free: 246.2 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.06904/4.876, allocations: 16.99 MB / 2.351 GB, free: 229.4 MB / 1.042 GB Notification: Performance of SimCode: time 0.07876/4.955, allocations: 30.96 MB / 2.381 GB, free: 198.7 MB / 1.042 GB Notification: Performance of Templates: time 1.282/6.237, allocations: 276.3 MB / 2.651 GB, free: 350.7 MB / 1.042 GB