Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003838/0.003843, allocations: 357.5 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.444/1.444, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.801/3.801, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.002534/0.002534, allocations: 198.4 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007204/0.0007207, allocations: 11.94 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4802, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Basic): time 0.9335/1.414, allocations: 329.3 MB / 1.13 GB, free: 5.617 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.643/2.057, allocations: 72.14 MB / 1.201 GB, free: 25.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01665/2.073, allocations: 372.2 kB / 1.201 GB, free: 25.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0206/2.094, allocations: 4.455 MB / 1.205 GB, free: 25.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05605/2.15, allocations: 13.55 MB / 1.219 GB, free: 25.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04673/2.197, allocations: 11.6 MB / 1.23 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.06248/2.259, allocations: 42.69 MB / 1.272 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03678/2.296, allocations: 15.85 MB / 1.287 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03893/2.335, allocations: 13.6 MB / 1.3 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03945/2.375, allocations: 14.71 MB / 1.315 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.008366/2.383, allocations: 1.074 MB / 1.316 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02319/2.406, allocations: 3.729 MB / 1.32 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.01224/2.419, allocations: 4.947 MB / 1.324 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01112/2.43, allocations: 3.384 MB / 1.328 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.04402/2.474, allocations: 22.25 MB / 1.349 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/2.474, allocations: 0 / 1.349 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.595e-06/2.474, allocations: 0 / 1.349 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0009284/2.475, allocations: 0 / 1.349 GB, free: 3.227 MB / 0.6511 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.08429/2.559, allocations: 20.7 MB / 1.37 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/2.559, allocations: 8.031 kB / 1.37 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02047/2.58, allocations: 2.385 MB / 1.372 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05344/2.633, allocations: 15.15 MB / 1.387 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/2.635, allocations: 0.7262 MB / 1.387 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006067/2.641, allocations: 1.002 MB / 1.388 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0587/2.7, allocations: 17.4 MB / 1.405 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005098/2.7, allocations: 15.84 kB / 1.405 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004326/2.704, allocations: 353.7 kB / 1.406 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003229/2.705, allocations: 219.9 kB / 1.406 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8922/3.597, allocations: 20.66 MB / 1.426 GB, free: 322.4 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 removeSimpleEquations (simulation): time 0.2188/3.816, allocations: 81.53 MB / 1.506 GB, free: 257.1 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/3.846, allocations: 12.98 MB / 1.518 GB, free: 244.2 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02186/3.868, allocations: 10 MB / 1.528 GB, free: 234.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.1068/3.974, allocations: 36.16 MB / 1.564 GB, free: 197.9 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02484/3.999, allocations: 10.02 MB / 1.573 GB, free: 187.8 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04945/4.049, allocations: 10.01 MB / 1.583 GB, free: 178.6 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=600): time 3.941e-05/4.049, allocations: 0 / 1.583 GB, free: 178.6 MB / 0.7137 GB Notification: Performance of matching and sorting (n=852): time 2.646/6.695, allocations: 218.2 MB / 1.796 GB, free: 286.9 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006501/6.696, allocations: 2.588 MB / 1.799 GB, free: 283.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03457/6.73, allocations: 15.4 MB / 1.814 GB, free: 276.2 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.004414/6.735, allocations: 264.9 kB / 1.814 GB, free: 276 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/6.745, allocations: 7.749 MB / 1.822 GB, free: 270.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.006851/6.752, allocations: 2.96 MB / 1.825 GB, free: 268.8 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004048/6.756, allocations: 208.9 kB / 1.825 GB, free: 268.7 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0008951/6.757, allocations: 0.7546 MB / 1.825 GB, free: 268 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03331/6.79, allocations: 11.34 MB / 1.837 GB, free: 261.9 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0367/6.827, allocations: 14.85 MB / 1.851 GB, free: 250.6 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03584/6.863, allocations: 12.64 MB / 1.863 GB, free: 238 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.532e-05/6.863, allocations: 16 kB / 1.863 GB, free: 238 MB / 0.7138 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 1.329/8.192, allocations: 130.7 MB / 1.991 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008603/8.193, allocations: 1.57 MB / 1.993 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002959/8.193, allocations: 103.9 kB / 1.993 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865/10.06, allocations: 149.9 MB / 2.139 GB, free: 266.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02423/10.08, allocations: 2.547 MB / 2.141 GB, free: 266.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2745/10.36, allocations: 83.81 MB / 2.223 GB, free: 184 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03197/10.39, allocations: 1.358 MB / 2.225 GB, free: 182.7 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005516/10.39, allocations: 0.8694 MB / 2.225 GB, free: 181.8 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/10.39, allocations: 8 kB / 2.225 GB, free: 181.8 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.288/11.68, allocations: 128.8 MB / 2.351 GB, free: 52.82 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003538/11.68, allocations: 99.92 kB / 2.351 GB, free: 52.72 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796/13.48, allocations: 150 MB / 2.498 GB, free: 216.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02155/13.5, allocations: 2.506 MB / 2.5 GB, free: 214.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2977/13.8, allocations: 90.11 MB / 2.588 GB, free: 124.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03112/13.83, allocations: 1.341 MB / 2.59 GB, free: 123.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005208/13.84, allocations: 0.8302 MB / 2.59 GB, free: 122.4 MB / 0.7138 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 (982): * Single equations (assignments): 902 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01653/13.85, allocations: 4.276 MB / 2.595 GB, free: 118.1 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007462/13.86, allocations: 1.549 MB / 2.596 GB, free: 117.4 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3825/14.24, allocations: 54.81 MB / 2.65 GB, free: 62.7 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7933/15.04, allocations: 48.58 MB / 2.697 GB, free: 247.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001115/15.04, allocations: 3.953 kB / 2.697 GB, free: 247.5 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01367/15.05, allocations: 3.513 MB / 2.7 GB, free: 247.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006889/15.06, allocations: 286.6 kB / 2.701 GB, free: 247.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02629/15.08, allocations: 1.18 MB / 2.702 GB, free: 247.4 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008032/15.09, allocations: 1.201 MB / 2.703 GB, free: 247.4 MB / 0.7138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1362/15.23, allocations: 29.88 MB / 2.732 GB, free: 243 MB / 0.7138 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1002/15.33, allocations: 31.78 MB / 2.763 GB, free: 231.4 MB / 0.7138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03776/15.36, allocations: 9.953 MB / 2.773 GB, free: 227.9 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.03294/15.4, allocations: 10.44 MB / 2.783 GB, free: 224.5 MB / 0.7138 GB Notification: Performance of Backend: time 9.32e-07/15.4, allocations: 0 / 2.783 GB, free: 224.5 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.1613/15.56, allocations: 40.75 MB / 2.823 GB, free: 194.8 MB / 0.7138 GB Notification: Performance of SimCode: time 0.126/15.69, allocations: 45.22 MB / 2.867 GB, free: 153 MB / 0.7138 GB Notification: Performance of Templates: time 1.922/17.61, allocations: 472.9 MB / 3.329 GB, free: 241.7 MB / 0.7138 GB