Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003505/0.003512, allocations: 356.5 kB / 16.59 MB, free: 5.566 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.624/1.624, allocations: 165.8 MB / 183.1 MB, free: 5.406 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.791/3.791, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.001764/0.001764, allocations: 186.3 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 15.98 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3882, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified5): time 0.8388/1.227, allocations: 329.4 MB / 1.13 GB, free: 5.539 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6422/1.869, allocations: 72.16 MB / 1.201 GB, free: 25.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01668/1.886, allocations: 373.4 kB / 1.201 GB, free: 25.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01981/1.906, allocations: 4.455 MB / 1.206 GB, free: 25.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05328/1.959, allocations: 13.54 MB / 1.219 GB, free: 25.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04309/2.002, allocations: 11.6 MB / 1.23 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04645/2.049, allocations: 32.65 MB / 1.262 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02565/2.074, allocations: 13.6 MB / 1.275 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03094/2.105, allocations: 11.45 MB / 1.287 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03398/2.139, allocations: 12.53 MB / 1.299 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.006718/2.146, allocations: 0.9688 MB / 1.3 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01878/2.165, allocations: 3.323 MB / 1.303 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.009382/2.174, allocations: 4.023 MB / 1.307 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.008709/2.183, allocations: 2.631 MB / 1.309 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.03347/2.217, allocations: 17.4 MB / 1.326 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.217, allocations: 0 / 1.326 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/2.217, allocations: 4 kB / 1.326 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006415/2.217, allocations: 0 / 1.326 GB, free: 8.938 MB / 0.6355 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.07141/2.289, allocations: 17.1 MB / 1.343 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/2.289, allocations: 8.031 kB / 1.343 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/2.307, allocations: 2.372 MB / 1.345 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04152/2.349, allocations: 12.1 MB / 1.357 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003136/2.352, allocations: 0.7854 MB / 1.358 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004489/2.357, allocations: 0.6902 MB / 1.359 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04695/2.404, allocations: 14.02 MB / 1.372 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/2.404, allocations: 11.94 kB / 1.372 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/2.407, allocations: 244.8 kB / 1.373 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/2.407, allocations: 152 kB / 1.373 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05622/2.464, allocations: 19 MB / 1.391 GB, free: 7.957 MB / 0.698 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.225/3.688, allocations: 73.41 MB / 1.463 GB, free: 95.64 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/3.716, allocations: 10.61 MB / 1.473 GB, free: 95.51 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0222/3.738, allocations: 9.132 MB / 1.482 GB, free: 95.45 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.09458/3.832, allocations: 31.89 MB / 1.513 GB, free: 83.09 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02267/3.855, allocations: 8.893 MB / 1.522 GB, free: 80.58 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0496/3.905, allocations: 9.954 MB / 1.532 GB, free: 73.8 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=387): time 3.345e-05/3.905, allocations: 0 / 1.532 GB, free: 73.8 MB / 0.7137 GB Notification: Performance of matching and sorting (n=573): time 2.498/6.403, allocations: 219.6 MB / 1.746 GB, free: 373.3 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/6.403, allocations: 120 kB / 1.746 GB, free: 373.2 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02553/6.429, allocations: 12.28 MB / 1.758 GB, free: 367.2 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.003728/6.433, allocations: 171.9 kB / 1.759 GB, free: 367 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.007578/6.44, allocations: 5.955 MB / 1.764 GB, free: 362.9 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.004897/6.445, allocations: 1.93 MB / 1.766 GB, free: 361.9 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/6.448, allocations: 144.4 kB / 1.766 GB, free: 361.8 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.0005195/6.448, allocations: 0.5982 MB / 1.767 GB, free: 361.3 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02897/6.477, allocations: 9.384 MB / 1.776 GB, free: 353.5 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.031/6.508, allocations: 11.72 MB / 1.788 GB, free: 340.9 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03142/6.54, allocations: 10.21 MB / 1.798 GB, free: 330.8 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.865e-05/6.54, allocations: 15.95 kB / 1.798 GB, free: 330.8 MB / 0.7918 GB Notification: Performance of matching and sorting (n=958) (initialization): time 1.466/8.006, allocations: 139.3 MB / 1.934 GB, free: 191.3 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008193/8.007, allocations: 1.536 MB / 1.935 GB, free: 189.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.528e-05/8.007, allocations: 44 kB / 1.935 GB, free: 189 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604/9.611, allocations: 166.1 MB / 2.097 GB, free: 22.7 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03128/9.642, allocations: 1.946 MB / 2.099 GB, free: 20.75 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8074/10.45, allocations: 95.45 MB / 2.192 GB, free: 332.5 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02987/10.48, allocations: 1.21 MB / 2.194 GB, free: 331.4 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004956/10.48, allocations: 0.7684 MB / 2.194 GB, free: 330.6 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/10.48, allocations: 4 kB / 2.194 GB, free: 330.6 MB / 0.7918 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.556/12.04, allocations: 138.2 MB / 2.329 GB, free: 193.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/12.04, allocations: 44 kB / 2.329 GB, free: 193.4 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58/13.62, allocations: 165.8 MB / 2.491 GB, free: 27.26 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01807/13.64, allocations: 1.923 MB / 2.493 GB, free: 25.34 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8054/14.44, allocations: 99.55 MB / 2.59 GB, free: 335.8 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02873/14.47, allocations: 1.198 MB / 2.592 GB, free: 335.3 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004627/14.48, allocations: 0.7384 MB / 2.592 GB, free: 335 MB / 0.7918 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.01267/14.49, allocations: 3.08 MB / 2.595 GB, free: 332.4 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005646/14.5, allocations: 1.194 MB / 2.597 GB, free: 331.8 MB / 0.7918 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.406/14.9, allocations: 53.53 MB / 2.649 GB, free: 279 MB / 0.7918 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.38/15.28, allocations: 47.97 MB / 2.696 GB, free: 231.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.205e-05/15.28, allocations: 0 / 2.696 GB, free: 231.1 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01052/15.29, allocations: 2.704 MB / 2.698 GB, free: 228.6 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005419/15.3, allocations: 123.6 kB / 2.698 GB, free: 228.5 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02291/15.32, allocations: 1.044 MB / 2.699 GB, free: 227.6 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007063/15.33, allocations: 0.9336 MB / 2.7 GB, free: 226.6 MB / 0.7918 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1163/15.44, allocations: 23.64 MB / 2.723 GB, free: 203.4 MB / 0.7918 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08448/15.53, allocations: 25.48 MB / 2.748 GB, free: 177.8 MB / 0.7918 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02418/15.55, allocations: 7.981 MB / 2.756 GB, free: 169.8 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.01849/15.57, allocations: 8.323 MB / 2.764 GB, free: 161.5 MB / 0.7918 GB Notification: Performance of Backend: time 1.303e-06/15.57, allocations: 4 kB / 2.764 GB, free: 161.5 MB / 0.7918 GB Notification: Performance of simCode: created initialization part: time 0.1381/15.71, allocations: 32.35 MB / 2.796 GB, free: 129.4 MB / 0.7918 GB Notification: Performance of SimCode: time 0.0814/15.79, allocations: 32.44 MB / 2.828 GB, free: 97.07 MB / 0.7918 GB Notification: Performance of Templates: time 1.269/17.06, allocations: 396.4 MB / 3.215 GB, free: 103.1 MB / 0.7918 GB