Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003499/0.003505, allocations: 358 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.517/1.517, allocations: 165.8 MB / 183.1 MB, free: 5.414 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 4.029/4.029, allocations: 410.8 MB / 0.6001 GB, free: 15.23 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.001867/0.001866, allocations: 198.6 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.000657, allocations: 8 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5404, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.9462/1.487, allocations: 329.3 MB / 1.13 GB, free: 5.598 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6728/2.16, allocations: 72.15 MB / 1.201 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01567/2.175, allocations: 372.1 kB / 1.201 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01978/2.195, allocations: 4.452 MB / 1.205 GB, free: 26.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0534/2.249, allocations: 13.55 MB / 1.219 GB, free: 25.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04415/2.293, allocations: 11.6 MB / 1.23 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.06057/2.353, allocations: 42.49 MB / 1.272 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03419/2.388, allocations: 15.82 MB / 1.287 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03939/2.427, allocations: 13.56 MB / 1.3 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03974/2.467, allocations: 14.69 MB / 1.315 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00825/2.475, allocations: 1.066 MB / 1.316 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02346/2.499, allocations: 3.718 MB / 1.319 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.01196/2.511, allocations: 4.92 MB / 1.324 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01107/2.522, allocations: 3.382 MB / 1.327 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.04319/2.565, allocations: 22.16 MB / 1.349 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/2.565, allocations: 0 / 1.349 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.955e-06/2.565, allocations: 0 / 1.349 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0008749/2.566, allocations: 0 / 1.349 GB, free: 3.637 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.1103/2.676, allocations: 20.69 MB / 1.369 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/2.676, allocations: 8.031 kB / 1.369 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/2.697, allocations: 2.385 MB / 1.372 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06948/2.767, allocations: 15.11 MB / 1.386 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001569/2.768, allocations: 0.7206 MB / 1.387 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007731/2.776, allocations: 0.9951 MB / 1.388 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05927/2.835, allocations: 17.27 MB / 1.405 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000451/2.836, allocations: 15.84 kB / 1.405 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004224/2.84, allocations: 352 kB / 1.405 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/2.841, allocations: 219.9 kB / 1.405 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9343/3.775, allocations: 20.57 MB / 1.425 GB, free: 322.7 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.1895/3.964, allocations: 82.34 MB / 1.506 GB, free: 256.8 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02833/3.993, allocations: 12.62 MB / 1.518 GB, free: 244.4 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02041/4.013, allocations: 9.507 MB / 1.528 GB, free: 234.9 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.1037/4.117, allocations: 35.56 MB / 1.562 GB, free: 199.2 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02372/4.141, allocations: 9.784 MB / 1.572 GB, free: 189.3 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04958/4.19, allocations: 10 MB / 1.582 GB, free: 180.1 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=576): time 3.714e-05/4.19, allocations: 0 / 1.582 GB, free: 180.1 MB / 0.7137 GB Notification: Performance of matching and sorting (n=804): time 2.613/6.803, allocations: 207.9 MB / 1.785 GB, free: 289.6 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006578/6.804, allocations: 2.582 MB / 1.787 GB, free: 286.5 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03519/6.839, allocations: 15.45 MB / 1.802 GB, free: 281.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.004317/6.843, allocations: 254 kB / 1.802 GB, free: 281.5 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01064/6.854, allocations: 7.78 MB / 1.81 GB, free: 276.5 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.006305/6.86, allocations: 2.795 MB / 1.813 GB, free: 274.7 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004053/6.864, allocations: 206 kB / 1.813 GB, free: 274.6 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0009401/6.865, allocations: 0.744 MB / 1.814 GB, free: 273.9 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03706/6.903, allocations: 11.16 MB / 1.825 GB, free: 268 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08239/6.985, allocations: 14.6 MB / 1.839 GB, free: 257.9 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03647/7.022, allocations: 12.43 MB / 1.851 GB, free: 250.6 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-05/7.022, allocations: 19.95 kB / 1.851 GB, free: 250.6 MB / 0.7138 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 1.281/8.303, allocations: 128.8 MB / 1.977 GB, free: 122.2 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009513/8.304, allocations: 1.728 MB / 1.978 GB, free: 119.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003037/8.304, allocations: 103.9 kB / 1.979 GB, free: 119.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854/10.16, allocations: 145.4 MB / 2.12 GB, free: 271.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02655/10.18, allocations: 2.734 MB / 2.123 GB, free: 271.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2835/10.47, allocations: 81.29 MB / 2.203 GB, free: 204.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03258/10.5, allocations: 1.373 MB / 2.204 GB, free: 203.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005179/10.51, allocations: 0.8808 MB / 2.205 GB, free: 202.3 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/10.51, allocations: 4 kB / 2.205 GB, free: 202.3 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.318/11.82, allocations: 127.3 MB / 2.329 GB, free: 74.95 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003915/11.82, allocations: 103.9 kB / 2.329 GB, free: 74.85 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791/13.62, allocations: 144.5 MB / 2.47 GB, free: 243.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02408/13.64, allocations: 2.703 MB / 2.473 GB, free: 241 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2947/13.94, allocations: 84.82 MB / 2.556 GB, free: 156.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03165/13.97, allocations: 1.358 MB / 2.557 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005057/13.97, allocations: 0.8429 MB / 2.558 GB, free: 154.2 MB / 0.7138 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.01561/13.99, allocations: 4.254 MB / 2.562 GB, free: 149.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006621/13.99, allocations: 1.543 MB / 2.564 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.376/14.37, allocations: 52.56 MB / 2.615 GB, free: 96.75 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3452/14.72, allocations: 46.47 MB / 2.66 GB, free: 50.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/14.72, allocations: 0 / 2.66 GB, free: 50.2 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0133/14.73, allocations: 3.411 MB / 2.664 GB, free: 46.95 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007151/14.74, allocations: 279.8 kB / 2.664 GB, free: 46.68 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02568/14.76, allocations: 1.211 MB / 2.665 GB, free: 45.5 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007064/14.77, allocations: 1.056 MB / 2.666 GB, free: 44.44 MB / 0.7138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5893/15.36, allocations: 27.64 MB / 2.693 GB, free: 254.6 MB / 0.7138 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09646/15.46, allocations: 30.8 MB / 2.723 GB, free: 246.7 MB / 0.7138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02715/15.48, allocations: 9.62 MB / 2.733 GB, free: 243.3 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.02403/15.51, allocations: 10.46 MB / 2.743 GB, free: 239.9 MB / 0.7138 GB Notification: Performance of Backend: time 6.01e-07/15.51, allocations: 0 / 2.743 GB, free: 239.9 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.1739/15.68, allocations: 40.29 MB / 2.782 GB, free: 225.4 MB / 0.7138 GB Notification: Performance of SimCode: time 0.1091/15.79, allocations: 43.72 MB / 2.825 GB, free: 190.5 MB / 0.7138 GB Notification: Performance of Templates: time 1.415/17.2, allocations: 462.4 MB / 3.276 GB, free: 36.64 MB / 0.7138 GB