Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002449/0.002455, allocations: 359.3 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.384/1.384, allocations: 165.8 MB / 183.1 MB, free: 5.434 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.609/3.609, allocations: 410.8 MB / 0.6001 GB, free: 15.27 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00169/0.00169, allocations: 195.3 kB / 0.6668 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004556, allocations: 12 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3897, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified6): time 0.86/1.25, allocations: 329.5 MB / 1.13 GB, free: 5.531 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6952/1.945, allocations: 72.16 MB / 1.201 GB, free: 25.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01617/1.961, allocations: 372.8 kB / 1.201 GB, free: 25.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.02002/1.981, allocations: 4.454 MB / 1.206 GB, free: 25.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0538/2.035, allocations: 13.55 MB / 1.219 GB, free: 25.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04488/2.08, allocations: 11.59 MB / 1.23 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04697/2.127, allocations: 32.65 MB / 1.262 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02572/2.153, allocations: 12.61 MB / 1.274 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0289/2.182, allocations: 9.715 MB / 1.284 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02375/2.206, allocations: 9.052 MB / 1.293 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.004793/2.21, allocations: 0.4961 MB / 1.293 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/2.227, allocations: 2.85 MB / 1.296 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00712/2.235, allocations: 2.887 MB / 1.299 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.007926/2.243, allocations: 2.637 MB / 1.301 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02896/2.272, allocations: 14.42 MB / 1.315 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/2.272, allocations: 3.984 kB / 1.315 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/2.272, allocations: 0 / 1.315 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006876/2.272, allocations: 4 kB / 1.315 GB, free: 1.133 MB / 0.6198 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.06234/2.335, allocations: 13.8 MB / 1.329 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/2.335, allocations: 12.03 kB / 1.329 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/2.354, allocations: 2.221 MB / 1.331 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04051/2.395, allocations: 11.07 MB / 1.342 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003231/2.398, allocations: 0.7821 MB / 1.343 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/2.401, allocations: 0.6891 MB / 1.343 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/2.432, allocations: 8.96 MB / 1.352 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/2.433, allocations: 15.88 kB / 1.352 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/2.435, allocations: 252 kB / 1.352 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/2.435, allocations: 152 kB / 1.353 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02869/2.464, allocations: 7.424 MB / 1.36 GB, free: 7.457 MB / 0.6667 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.1152/2.579, allocations: 50.44 MB / 1.409 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7675/3.346, allocations: 5.528 MB / 1.414 GB, free: 334.9 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/3.358, allocations: 3.999 MB / 1.418 GB, free: 334.2 MB / 0.7137 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.0469/3.405, allocations: 13.45 MB / 1.431 GB, free: 327.9 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01044/3.416, allocations: 3.736 MB / 1.435 GB, free: 326.7 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01289/3.429, allocations: 1.86 MB / 1.437 GB, free: 326.1 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=320): time 1.998e-05/3.429, allocations: 0 / 1.437 GB, free: 326.1 MB / 0.7137 GB Notification: Performance of matching and sorting (n=506): time 0.3159/3.745, allocations: 53.61 MB / 1.489 GB, free: 282.8 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/3.745, allocations: 107.9 kB / 1.489 GB, free: 282.7 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02699/3.772, allocations: 12.51 MB / 1.502 GB, free: 270.3 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001823/3.774, allocations: 165.7 kB / 1.502 GB, free: 270.1 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007828/3.782, allocations: 6.159 MB / 1.508 GB, free: 264.2 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002761/3.784, allocations: 1.717 MB / 1.509 GB, free: 262.5 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/3.786, allocations: 140 kB / 1.51 GB, free: 262.3 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0004853/3.786, allocations: 0.5886 MB / 1.51 GB, free: 261.7 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01875/3.805, allocations: 5.151 MB / 1.515 GB, free: 256.6 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02084/3.826, allocations: 7.812 MB / 1.523 GB, free: 247.6 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/3.847, allocations: 5.872 MB / 1.529 GB, free: 241.7 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.927e-05/3.847, allocations: 20 kB / 1.529 GB, free: 241.7 MB / 0.7137 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.06864/3.916, allocations: 17.21 MB / 1.545 GB, free: 224.4 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/3.917, allocations: 1.931 MB / 1.547 GB, free: 221.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/3.917, allocations: 60 kB / 1.547 GB, free: 221.6 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02657/3.943, allocations: 4.655 MB / 1.552 GB, free: 216.9 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02034/3.964, allocations: 2.036 MB / 1.554 GB, free: 214.9 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/3.982, allocations: 10.9 MB / 1.565 GB, free: 203.8 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02181/4.003, allocations: 1.216 MB / 1.566 GB, free: 202.6 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/4.006, allocations: 475.7 kB / 1.566 GB, free: 202.1 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/4.006, allocations: 7.891 kB / 1.566 GB, free: 202.1 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05697/4.063, allocations: 16.09 MB / 1.582 GB, free: 185.9 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/4.063, allocations: 60 kB / 1.582 GB, free: 185.9 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/4.084, allocations: 4.38 MB / 1.586 GB, free: 181.5 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/4.102, allocations: 2.02 MB / 1.588 GB, free: 179.4 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0345/4.137, allocations: 15.06 MB / 1.603 GB, free: 164.1 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02155/4.158, allocations: 1.212 MB / 1.604 GB, free: 162.9 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/4.16, allocations: 435.8 kB / 1.605 GB, free: 162.4 MB / 0.7137 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.009667/4.17, allocations: 3.097 MB / 1.608 GB, free: 159.3 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00369/4.174, allocations: 1.192 MB / 1.609 GB, free: 158.1 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05999/4.234, allocations: 14.96 MB / 1.623 GB, free: 143.1 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04903/4.283, allocations: 12.3 MB / 1.635 GB, free: 130.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.376e-05/4.283, allocations: 0 / 1.635 GB, free: 130.6 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008494/4.292, allocations: 2.304 MB / 1.638 GB, free: 128.3 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004116/4.296, allocations: 100 kB / 1.638 GB, free: 128.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01891/4.315, allocations: 1.049 MB / 1.639 GB, free: 127.2 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/4.317, allocations: 0.5506 MB / 1.639 GB, free: 126.6 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06111/4.378, allocations: 13.47 MB / 1.652 GB, free: 113.2 MB / 0.7137 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05994/4.438, allocations: 16.9 MB / 1.669 GB, free: 96.11 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01696/4.455, allocations: 4.901 MB / 1.674 GB, free: 91.18 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.01831/4.473, allocations: 8.446 MB / 1.682 GB, free: 82.79 MB / 0.7137 GB Notification: Performance of Backend: time 7.71e-07/4.473, allocations: 0 / 1.682 GB, free: 82.79 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.06659/4.54, allocations: 16.98 MB / 1.699 GB, free: 65.97 MB / 0.7137 GB Notification: Performance of SimCode: time 0.07718/4.617, allocations: 30.96 MB / 1.729 GB, free: 35.09 MB / 0.7137 GB Notification: Performance of Templates: time 1.027/5.644, allocations: 276.3 MB / 1.999 GB, free: 99.56 MB / 0.7137 GB