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.823/4.823, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 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.002473/0.002473, allocations: 356.7 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.002/4.002, allocations: 410.7 MB / 1.113 GB, free: 5.965 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.001797/0.001797, allocations: 171.5 kB / 1.226 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 12 kB / 1.349 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6728, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 1.046/1.718, allocations: 329.5 MB / 1.783 GB, free: 67.68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1305/1.849, allocations: 72.13 MB / 1.854 GB, free: 66.78 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/1.865, allocations: 380.1 kB / 1.854 GB, free: 66.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.02164/1.887, allocations: 4.459 MB / 1.858 GB, free: 66.06 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.05378/1.941, allocations: 13.54 MB / 1.871 GB, free: 58.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.04397/1.985, allocations: 11.59 MB / 1.883 GB, free: 52.33 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.05218/2.037, allocations: 38.24 MB / 1.92 GB, free: 22.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02669/2.064, allocations: 14.4 MB / 1.934 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03143/2.095, allocations: 12.45 MB / 1.946 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03551/2.131, allocations: 13.5 MB / 1.96 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.006782/2.138, allocations: 0.9961 MB / 1.96 GB, free: 15 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/2.159, allocations: 3.769 MB / 1.964 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01035/2.169, allocations: 4.254 MB / 1.968 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.009841/2.179, allocations: 2.931 MB / 1.971 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03615/2.216, allocations: 19.27 MB / 1.99 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/2.216, allocations: 4 kB / 1.99 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.915e-06/2.216, allocations: 0 / 1.99 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007327/2.216, allocations: 0 / 1.99 GB, free: 1.969 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.07265/2.289, allocations: 18.16 MB / 2.008 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/2.289, allocations: 11.62 kB / 2.008 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/2.306, allocations: 2.303 MB / 2.01 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0446/2.35, allocations: 13.4 MB / 2.023 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002106/2.352, allocations: 0.7326 MB / 2.024 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/2.357, allocations: 0.7851 MB / 2.025 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0495/2.406, allocations: 14.9 MB / 2.039 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/2.407, allocations: 15.81 kB / 2.039 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003215/2.41, allocations: 290.6 kB / 2.039 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/2.41, allocations: 176 kB / 2.04 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05687/2.467, allocations: 19.36 MB / 2.058 GB, free: 11.89 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.443/3.91, allocations: 77.54 MB / 2.134 GB, free: 415.6 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02621/3.936, allocations: 10.6 MB / 2.145 GB, free: 412.1 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02199/3.959, allocations: 9.129 MB / 2.153 GB, free: 408.3 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.09592/4.054, allocations: 32.74 MB / 2.185 GB, free: 388.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.022/4.077, allocations: 8.856 MB / 2.194 GB, free: 382.9 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04834/4.125, allocations: 9.839 MB / 2.204 GB, free: 377 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 3.65e-05/4.125, allocations: 1.875 kB / 2.204 GB, free: 377 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.757/5.882, allocations: 197.2 MB / 2.396 GB, free: 180.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/5.882, allocations: 112.2 kB / 2.396 GB, free: 180.3 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0282/5.911, allocations: 13.02 MB / 2.409 GB, free: 167.4 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003634/5.914, allocations: 185.5 kB / 2.409 GB, free: 167.3 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.008323/5.923, allocations: 6.587 MB / 2.416 GB, free: 160.9 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005013/5.928, allocations: 2.046 MB / 2.418 GB, free: 158.9 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00328/5.931, allocations: 156 kB / 2.418 GB, free: 158.7 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005605/5.932, allocations: 0.6172 MB / 2.418 GB, free: 158.1 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02865/5.96, allocations: 9.36 MB / 2.428 GB, free: 148.7 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03096/5.991, allocations: 11.87 MB / 2.439 GB, free: 135.8 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03105/6.022, allocations: 10.27 MB / 2.449 GB, free: 125.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.824e-05/6.022, allocations: 18.84 kB / 2.449 GB, free: 125.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 1.93/7.952, allocations: 123.9 MB / 2.57 GB, free: 372.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/7.953, allocations: 1.735 MB / 2.572 GB, free: 370.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.454e-05/7.953, allocations: 54.12 kB / 2.572 GB, free: 370.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363/9.316, allocations: 143.5 MB / 2.712 GB, free: 282.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02118/9.337, allocations: 2.068 MB / 2.714 GB, free: 280.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2792/9.616, allocations: 78.77 MB / 2.791 GB, free: 201.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03066/9.647, allocations: 1.252 MB / 2.792 GB, free: 200.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00477/9.652, allocations: 0.7841 MB / 2.793 GB, free: 199.5 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/9.652, allocations: 4 kB / 2.793 GB, free: 199.5 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.263/10.91, allocations: 122.8 MB / 2.913 GB, free: 76.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/10.91, allocations: 53 kB / 2.913 GB, free: 76.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066/12.98, allocations: 143.3 MB / 3.053 GB, free: 347.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0188/13, allocations: 2.049 MB / 3.055 GB, free: 347.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2992/13.3, allocations: 82.73 MB / 3.136 GB, free: 269 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02911/13.33, allocations: 1.226 MB / 3.137 GB, free: 267.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004569/13.33, allocations: 0.7626 MB / 3.138 GB, free: 267.1 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.01338/13.35, allocations: 3.339 MB / 3.141 GB, free: 263.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006168/13.35, allocations: 1.282 MB / 3.142 GB, free: 263.2 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4852/13.84, allocations: 49.33 MB / 3.19 GB, free: 214.4 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3332/14.17, allocations: 43.68 MB / 3.233 GB, free: 170.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.363e-05/14.17, allocations: 4 kB / 3.233 GB, free: 170.6 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/14.18, allocations: 2.853 MB / 3.236 GB, free: 168.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004707/14.19, allocations: 124 kB / 3.236 GB, free: 168.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02298/14.21, allocations: 1.078 MB / 3.237 GB, free: 167.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006208/14.22, allocations: 0.9038 MB / 3.238 GB, free: 166.3 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1088/14.32, allocations: 23.16 MB / 3.261 GB, free: 143.2 MB / 1.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08077/14.41, allocations: 25.58 MB / 3.285 GB, free: 117.5 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02322/14.43, allocations: 7.979 MB / 3.293 GB, free: 109.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01988/14.45, allocations: 8.81 MB / 3.302 GB, free: 100.8 MB / 1.042 GB Notification: Performance of Backend: time 1.162e-06/14.45, allocations: 0 / 3.302 GB, free: 100.8 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1284/14.58, allocations: 32.06 MB / 3.333 GB, free: 69.01 MB / 1.042 GB Notification: Performance of SimCode: time 0.08794/14.66, allocations: 35.17 MB / 3.368 GB, free: 34.1 MB / 1.042 GB Notification: Performance of Templates: time 1.517/16.18, allocations: 410.2 MB / 3.768 GB, free: 42.04 MB / 1.042 GB