Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.863/4.863, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002482/0.002482, allocations: 363.5 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.066/4.066, allocations: 410.7 MB / 1.113 GB, free: 5.969 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.0018/0.0018, allocations: 186.8 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 19.98 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6846, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 1.125/1.81, allocations: 329.4 MB / 1.783 GB, free: 67.91 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1579/1.968, allocations: 72.13 MB / 1.853 GB, free: 66.86 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01747/1.985, allocations: 375.7 kB / 1.854 GB, free: 66.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.02075/2.006, allocations: 4.447 MB / 1.858 GB, free: 66.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0541/2.06, allocations: 13.55 MB / 1.871 GB, free: 58.51 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.04569/2.106, allocations: 11.59 MB / 1.883 GB, free: 52.39 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.06067/2.167, allocations: 42.49 MB / 1.924 GB, free: 18.04 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03515/2.202, allocations: 15.82 MB / 1.94 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03928/2.241, allocations: 13.55 MB / 1.953 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04023/2.282, allocations: 14.68 MB / 1.967 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.008171/2.29, allocations: 1.07 MB / 1.968 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.023/2.313, allocations: 3.719 MB / 1.972 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01247/2.325, allocations: 4.921 MB / 1.977 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01111/2.337, allocations: 3.375 MB / 1.98 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.04284/2.379, allocations: 22.16 MB / 2.002 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/2.38, allocations: 0 / 2.002 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.545e-06/2.38, allocations: 0 / 2.002 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0009441/2.381, allocations: 0 / 2.002 GB, free: 6.277 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08391/2.464, allocations: 20.69 MB / 2.022 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.465, allocations: 15.62 kB / 2.022 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/2.48, allocations: 2.383 MB / 2.024 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05056/2.531, allocations: 15.1 MB / 2.039 GB, free: 496 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/2.532, allocations: 0.724 MB / 2.04 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0057/2.538, allocations: 1.006 MB / 2.041 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05516/2.593, allocations: 17.27 MB / 2.057 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000395/2.593, allocations: 7.938 kB / 2.057 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003838/2.597, allocations: 355.7 kB / 2.058 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/2.598, allocations: 219.9 kB / 2.058 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05981/2.657, allocations: 20.58 MB / 2.078 GB, free: 7.797 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 removeSimpleEquations (simulation): time 1.444/4.102, allocations: 82.37 MB / 2.159 GB, free: 392.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/4.133, allocations: 12.62 MB / 2.171 GB, free: 387.3 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02215/4.155, allocations: 9.508 MB / 2.18 GB, free: 382 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.1052/4.26, allocations: 35.56 MB / 2.215 GB, free: 358 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02355/4.284, allocations: 9.776 MB / 2.224 GB, free: 350.2 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04912/4.333, allocations: 10 MB / 2.234 GB, free: 341.1 MB / 1.042 GB Notification: Performance of pre-optimization done (n=576): time 3.966e-05/4.333, allocations: 1.203 kB / 2.234 GB, free: 341.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=804): time 1.849/6.182, allocations: 210 MB / 2.439 GB, free: 131.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005771/6.182, allocations: 2.576 MB / 2.442 GB, free: 128.5 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03229/6.215, allocations: 15.45 MB / 2.457 GB, free: 113.2 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.004199/6.219, allocations: 257 kB / 2.457 GB, free: 113 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.009872/6.229, allocations: 7.774 MB / 2.465 GB, free: 105.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005838/6.235, allocations: 2.795 MB / 2.467 GB, free: 102.7 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003453/6.238, allocations: 211.5 kB / 2.468 GB, free: 102.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0008/6.239, allocations: 0.7453 MB / 2.468 GB, free: 101.7 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03226/6.271, allocations: 11.16 MB / 2.479 GB, free: 90.55 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0358/6.307, allocations: 14.61 MB / 2.494 GB, free: 74.6 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03597/6.343, allocations: 12.43 MB / 2.506 GB, free: 62.13 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.019e-05/6.343, allocations: 16 kB / 2.506 GB, free: 62.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 2.61/8.954, allocations: 128.9 MB / 2.632 GB, free: 357.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009659/8.955, allocations: 1.734 MB / 2.633 GB, free: 355 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002992/8.955, allocations: 104.3 kB / 2.633 GB, free: 354.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378/10.33, allocations: 144.5 MB / 2.774 GB, free: 224 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02641/10.36, allocations: 2.748 MB / 2.777 GB, free: 221.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2727/10.63, allocations: 80.91 MB / 2.856 GB, free: 140.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03276/10.67, allocations: 1.408 MB / 2.858 GB, free: 139 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005282/10.67, allocations: 0.8751 MB / 2.858 GB, free: 138.1 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/10.67, allocations: 4 kB / 2.858 GB, free: 138.1 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.963/12.63, allocations: 127.4 MB / 2.983 GB, free: 343.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003758/12.63, allocations: 104 kB / 2.983 GB, free: 343.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377/14.01, allocations: 144.3 MB / 3.124 GB, free: 288 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02383/14.03, allocations: 2.697 MB / 3.126 GB, free: 285.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2891/14.32, allocations: 84.46 MB / 3.209 GB, free: 200.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03244/14.36, allocations: 1.4 MB / 3.21 GB, free: 199.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005209/14.36, allocations: 0.8347 MB / 3.211 GB, free: 198.8 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1054): * Single equations (assignments): 974 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01577/14.38, allocations: 4.26 MB / 3.215 GB, free: 194.6 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006776/14.38, allocations: 1.548 MB / 3.217 GB, free: 193.8 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.376/14.76, allocations: 52.6 MB / 3.268 GB, free: 141.4 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3428/15.1, allocations: 46.53 MB / 3.314 GB, free: 94.76 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001394/15.1, allocations: 0 / 3.314 GB, free: 94.76 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01414/15.12, allocations: 3.41 MB / 3.317 GB, free: 92.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007219/15.12, allocations: 275.9 kB / 3.317 GB, free: 91.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02619/15.15, allocations: 1.223 MB / 3.318 GB, free: 90.76 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008004/15.16, allocations: 1.06 MB / 3.319 GB, free: 89.7 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1258/15.28, allocations: 27.83 MB / 3.347 GB, free: 62.09 MB / 1.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09105/15.38, allocations: 30.83 MB / 3.377 GB, free: 31.2 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02646/15.4, allocations: 9.631 MB / 3.386 GB, free: 21.56 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.6908/16.09, allocations: 10.46 MB / 3.396 GB, free: 357 MB / 1.042 GB Notification: Performance of Backend: time 7.41e-07/16.09, allocations: 0 / 3.396 GB, free: 357 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1512/16.24, allocations: 39.11 MB / 3.434 GB, free: 347 MB / 1.042 GB Notification: Performance of SimCode: time 0.1122/16.36, allocations: 43.38 MB / 3.477 GB, free: 328.1 MB / 1.042 GB Notification: Performance of Templates: time 1.706/18.06, allocations: 467.5 MB / 3.933 GB, free: 290.7 MB / 1.042 GB