Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.822/4.822, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002481/0.002481, allocations: 362.2 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 3.971/3.971, allocations: 410.7 MB / 1.113 GB, free: 6.004 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.001855/0.001855, allocations: 186.1 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6854, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.054/1.74, allocations: 329.5 MB / 1.783 GB, free: 67.91 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1323/1.872, allocations: 72.14 MB / 1.854 GB, free: 66.83 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.016/1.888, allocations: 373 kB / 1.854 GB, free: 66.83 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01958/1.908, allocations: 4.451 MB / 1.858 GB, free: 66.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.05274/1.96, allocations: 13.55 MB / 1.871 GB, free: 58.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.04366/2.004, allocations: 11.58 MB / 1.883 GB, free: 52.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04599/2.05, allocations: 32.66 MB / 1.915 GB, free: 27.61 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02453/2.075, allocations: 13.59 MB / 1.928 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02734/2.102, allocations: 11.45 MB / 1.939 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0324/2.135, allocations: 12.54 MB / 1.951 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.006508/2.141, allocations: 0.9648 MB / 1.952 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0189/2.16, allocations: 3.321 MB / 1.956 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.009305/2.169, allocations: 4.021 MB / 1.959 GB, free: 92 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.008659/2.178, allocations: 2.638 MB / 1.962 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03319/2.211, allocations: 17.38 MB / 1.979 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/2.211, allocations: 0 / 1.979 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.089e-06/2.211, allocations: 3.984 kB / 1.979 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006418/2.212, allocations: 0 / 1.979 GB, free: 12.82 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.07097/2.283, allocations: 17.09 MB / 1.996 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/2.283, allocations: 15.62 kB / 1.996 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/2.301, allocations: 2.374 MB / 1.998 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04169/2.343, allocations: 12.1 MB / 2.01 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003178/2.346, allocations: 0.7834 MB / 2.011 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0042/2.35, allocations: 0.7001 MB / 2.011 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04773/2.398, allocations: 14.03 MB / 2.025 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/2.398, allocations: 3.938 kB / 2.025 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002983/2.401, allocations: 244 kB / 2.025 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/2.401, allocations: 152 kB / 2.025 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05682/2.458, allocations: 19 MB / 2.044 GB, free: 10.48 MB / 0.9636 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.1869/2.645, allocations: 73.41 MB / 2.116 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/2.675, allocations: 10.62 MB / 2.126 GB, free: 3.727 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232/3.907, allocations: 9.139 MB / 2.135 GB, free: 424.1 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.09661/4.004, allocations: 31.88 MB / 2.166 GB, free: 407.8 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02449/4.028, allocations: 8.893 MB / 2.175 GB, free: 402.4 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04931/4.077, allocations: 9.954 MB / 2.184 GB, free: 399.1 MB / 1.042 GB Notification: Performance of pre-optimization done (n=387): time 3.474e-05/4.078, allocations: 0 / 2.184 GB, free: 399.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=573): time 2.04/6.117, allocations: 219.6 MB / 2.399 GB, free: 181.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/6.117, allocations: 111.9 kB / 2.399 GB, free: 181.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02608/6.143, allocations: 12.28 MB / 2.411 GB, free: 169 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00359/6.147, allocations: 173.7 kB / 2.411 GB, free: 168.8 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.007528/6.155, allocations: 5.943 MB / 2.417 GB, free: 163.2 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004773/6.159, allocations: 1.93 MB / 2.419 GB, free: 161.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/6.162, allocations: 144 kB / 2.419 GB, free: 161.1 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005065/6.163, allocations: 0.5965 MB / 2.42 GB, free: 160.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02983/6.193, allocations: 9.394 MB / 2.429 GB, free: 151.1 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03294/6.226, allocations: 11.71 MB / 2.44 GB, free: 138.4 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03277/6.259, allocations: 10.21 MB / 2.45 GB, free: 128.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-05/6.259, allocations: 12 kB / 2.45 GB, free: 128.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=958) (initialization): time 2.12/8.379, allocations: 139.3 MB / 2.586 GB, free: 377 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009757/8.38, allocations: 1.537 MB / 2.588 GB, free: 375 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/8.38, allocations: 47.62 kB / 2.588 GB, free: 375 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606/9.986, allocations: 166.1 MB / 2.75 GB, free: 251.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02068/10.01, allocations: 1.952 MB / 2.752 GB, free: 249.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3586/10.37, allocations: 95.44 MB / 2.845 GB, free: 153.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02965/10.39, allocations: 1.206 MB / 2.846 GB, free: 152.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004877/10.4, allocations: 0.7724 MB / 2.847 GB, free: 151.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/10.4, allocations: 11.75 kB / 2.847 GB, free: 151.8 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.119/12.52, allocations: 138.2 MB / 2.982 GB, free: 353 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/12.52, allocations: 46.22 kB / 2.982 GB, free: 353 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641/14.16, allocations: 165.8 MB / 3.144 GB, free: 272.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02061/14.18, allocations: 1.929 MB / 3.146 GB, free: 270.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4298/14.61, allocations: 99.55 MB / 3.243 GB, free: 171.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02881/14.64, allocations: 1.197 MB / 3.244 GB, free: 170 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00469/14.64, allocations: 0.7411 MB / 3.245 GB, free: 169.2 MB / 1.042 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,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 (683): * Single equations (assignments): 669 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.0131/14.66, allocations: 3.08 MB / 3.248 GB, free: 166.2 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005995/14.66, allocations: 1.193 MB / 3.249 GB, free: 165.6 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4162/15.08, allocations: 53.56 MB / 3.301 GB, free: 112.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3813/15.46, allocations: 47.96 MB / 3.348 GB, free: 64.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.902e-05/15.46, allocations: 0 / 3.348 GB, free: 64.08 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/15.47, allocations: 2.712 MB / 3.351 GB, free: 61.85 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005347/15.48, allocations: 120 kB / 3.351 GB, free: 61.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02275/15.5, allocations: 1.046 MB / 3.352 GB, free: 60.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007138/15.51, allocations: 0.9259 MB / 3.353 GB, free: 59.77 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1177/15.62, allocations: 23.64 MB / 3.376 GB, free: 36.22 MB / 1.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.7755/16.4, allocations: 25.48 MB / 3.401 GB, free: 373.5 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0256/16.43, allocations: 7.988 MB / 3.409 GB, free: 373.2 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01979/16.44, allocations: 8.324 MB / 3.417 GB, free: 370.5 MB / 1.042 GB Notification: Performance of Backend: time 1.142e-06/16.45, allocations: 0 / 3.417 GB, free: 370.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1443/16.59, allocations: 32.34 MB / 3.448 GB, free: 359.5 MB / 1.042 GB Notification: Performance of SimCode: time 0.08602/16.68, allocations: 32.46 MB / 3.48 GB, free: 345.3 MB / 1.042 GB Notification: Performance of Templates: time 1.512/18.19, allocations: 396.5 MB / 3.867 GB, free: 371.8 MB / 1.042 GB