Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.575/4.575, allocations: 0.5623 GB / 0.5776 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002587/0.002587, allocations: 360.9 kB / 0.6446 GB, free: 21.39 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.962/3.962, allocations: 410.8 MB / 1.113 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 180.1 kB / 1.226 GB, free: 9.461 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 12 kB / 1.349 GB, free: 84.66 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 115.3 MB / 1.461 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.099/1.307, allocations: 329.4 MB / 1.783 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.883/2.19, allocations: 72.1 MB / 1.853 GB, free: 67.67 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/2.207, allocations: 377 kB / 1.854 GB, free: 67.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.02066/2.228, allocations: 4.452 MB / 1.858 GB, free: 67.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.05537/2.283, allocations: 13.55 MB / 1.871 GB, free: 67.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04616/2.33, allocations: 11.6 MB / 1.883 GB, free: 67 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.06174/2.391, allocations: 42.5 MB / 1.924 GB, free: 58.88 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/2.426, allocations: 15.82 MB / 1.94 GB, free: 52.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03524/2.461, allocations: 13.56 MB / 1.953 GB, free: 47.92 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0355/2.497, allocations: 14.68 MB / 1.967 GB, free: 37 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.007849/2.505, allocations: 1.066 MB / 1.968 GB, free: 35.93 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/2.527, allocations: 3.722 MB / 1.972 GB, free: 32.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.01095/2.538, allocations: 4.922 MB / 1.977 GB, free: 29.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0103/2.548, allocations: 3.374 MB / 1.98 GB, free: 27.28 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.03709/2.585, allocations: 22.16 MB / 2.002 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/2.585, allocations: 0 / 2.002 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.635e-06/2.586, allocations: 0 / 2.002 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0009403/2.586, allocations: 0 / 2.002 GB, free: 8.484 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.0817/2.668, allocations: 20.69 MB / 2.022 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/2.668, allocations: 8.031 kB / 2.022 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/2.684, allocations: 2.378 MB / 2.024 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05103/2.735, allocations: 15.11 MB / 2.039 GB, free: 7.859 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/2.737, allocations: 0.72 MB / 2.04 GB, free: 7.438 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005965/2.743, allocations: 0.9977 MB / 2.041 GB, free: 6.758 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05687/2.799, allocations: 17.28 MB / 2.057 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005549/2.8, allocations: 15.88 kB / 2.057 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004543/2.805, allocations: 359.4 kB / 2.058 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003593/2.805, allocations: 213.4 kB / 2.058 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05962/2.865, allocations: 20.57 MB / 2.078 GB, free: 8.055 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 0.2413/3.106, allocations: 82.34 MB / 2.159 GB, free: 3.375 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04937/3.155, allocations: 12.62 MB / 2.171 GB, free: 6.934 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03277/3.188, allocations: 9.519 MB / 2.18 GB, free: 13.42 MB / 1.089 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 1.447/4.635, allocations: 35.55 MB / 2.215 GB, free: 458.5 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02907/4.664, allocations: 9.779 MB / 2.224 GB, free: 457 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05333/4.717, allocations: 10 MB / 2.234 GB, free: 456.5 MB / 1.104 GB Notification: Performance of pre-optimization done (n=576): time 4.298e-05/4.717, allocations: 0 / 2.234 GB, free: 456.5 MB / 1.104 GB Notification: Performance of matching and sorting (n=804): time 1.843/6.56, allocations: 208 MB / 2.437 GB, free: 282.7 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005877/6.561, allocations: 2.581 MB / 2.44 GB, free: 279.5 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03431/6.595, allocations: 15.45 MB / 2.455 GB, free: 264.2 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004778/6.6, allocations: 259.6 kB / 2.455 GB, free: 264 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01053/6.611, allocations: 7.775 MB / 2.463 GB, free: 256.6 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00648/6.617, allocations: 2.788 MB / 2.465 GB, free: 253.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004299/6.622, allocations: 211.3 kB / 2.466 GB, free: 253.6 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000896/6.622, allocations: 0.7531 MB / 2.466 GB, free: 252.9 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03327/6.656, allocations: 11.16 MB / 2.477 GB, free: 241.7 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03654/6.692, allocations: 14.61 MB / 2.492 GB, free: 225.8 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03686/6.729, allocations: 12.42 MB / 2.504 GB, free: 213.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.08e-05/6.729, allocations: 16 kB / 2.504 GB, free: 213.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 1.298/8.027, allocations: 128.8 MB / 2.629 GB, free: 84.25 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009378/8.028, allocations: 1.726 MB / 2.631 GB, free: 81.79 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002829/8.029, allocations: 111.9 kB / 2.631 GB, free: 81.68 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709/10.74, allocations: 145.4 MB / 2.773 GB, free: 411.8 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02669/10.76, allocations: 2.738 MB / 2.776 GB, free: 411.1 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2867/11.05, allocations: 81.27 MB / 2.855 GB, free: 339.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03315/11.08, allocations: 1.392 MB / 2.857 GB, free: 337.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00561/11.09, allocations: 0.8696 MB / 2.857 GB, free: 337 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/11.09, allocations: 4 kB / 2.857 GB, free: 337 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.282/12.37, allocations: 127.3 MB / 2.982 GB, free: 209.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003528/12.37, allocations: 103.9 kB / 2.982 GB, free: 209.4 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/13.74, allocations: 144.5 MB / 3.123 GB, free: 64.67 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02378/13.76, allocations: 2.707 MB / 3.126 GB, free: 61.96 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004/14.77, allocations: 84.82 MB / 3.208 GB, free: 397.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03297/14.8, allocations: 1.364 MB / 3.21 GB, free: 397 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005921/14.81, allocations: 0.8424 MB / 3.211 GB, free: 396.9 MB / 1.104 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01712/14.82, allocations: 4.257 MB / 3.215 GB, free: 395.2 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007383/14.83, allocations: 1.543 MB / 3.216 GB, free: 395.2 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3834/15.22, allocations: 52.57 MB / 3.268 GB, free: 384.3 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3509/15.57, allocations: 46.48 MB / 3.313 GB, free: 354.4 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/15.57, allocations: 4 kB / 3.313 GB, free: 354.4 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01314/15.58, allocations: 3.408 MB / 3.316 GB, free: 351.8 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007071/15.59, allocations: 273.2 kB / 3.317 GB, free: 351.6 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02594/15.61, allocations: 1.22 MB / 3.318 GB, free: 350.4 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007241/15.62, allocations: 1.06 MB / 3.319 GB, free: 349.4 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1262/15.75, allocations: 27.64 MB / 3.346 GB, free: 322.5 MB / 1.104 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09098/15.84, allocations: 30.8 MB / 3.376 GB, free: 291.8 MB / 1.104 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02635/15.86, allocations: 9.619 MB / 3.385 GB, free: 282.2 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02304/15.89, allocations: 10.46 MB / 3.395 GB, free: 271.8 MB / 1.104 GB Notification: Performance of Backend: time 1.062e-06/15.89, allocations: 0 / 3.395 GB, free: 271.8 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1611/16.05, allocations: 40.28 MB / 3.435 GB, free: 231.8 MB / 1.104 GB Notification: Performance of SimCode: time 0.1083/16.16, allocations: 43.74 MB / 3.477 GB, free: 188.2 MB / 1.104 GB Notification: Performance of Templates: time 1.668/17.82, allocations: 462.5 MB / 3.929 GB, free: 199.8 MB / 1.104 GB