Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadModel(Buildings): time 3.883/3.883, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.306e-05, allocations: 4 kB / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.5176, allocations: 98.73 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/6.094, allocations: 2.177 GB / 2.806 GB, free: 143.5 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/6.094, allocations: 93.39 kB / 2.806 GB, free: 143.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.047/14.14, allocations: 1.705 GB / 4.511 GB, free: 225.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.688e-06/14.14, allocations: 0 / 4.511 GB, free: 225.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001337/14.14, allocations: 35.34 kB / 4.511 GB, free: 225.4 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00219/14.14, allocations: 1.137 MB / 4.512 GB, free: 224.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/14.14, allocations: 12.66 kB / 4.512 GB, free: 224.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/14.15, allocations: 179.6 kB / 4.513 GB, free: 224.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/14.15, allocations: 1.099 MB / 4.514 GB, free: 224.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/14.15, allocations: 18.22 kB / 4.514 GB, free: 224.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/14.15, allocations: 37.72 kB / 4.514 GB, free: 224.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/14.15, allocations: 479.6 kB / 4.514 GB, free: 224.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/14.15, allocations: 0.6611 MB / 4.515 GB, free: 224.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/14.15, allocations: 9.281 kB / 4.515 GB, free: 224.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/14.15, allocations: 6.797 kB / 4.515 GB, free: 224.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/14.15, allocations: 10.62 kB / 4.515 GB, free: 224.3 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.00449/14.16, allocations: 4.313 MB / 4.519 GB, free: 221 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/14.16, allocations: 452.4 kB / 4.52 GB, free: 220.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/14.16, allocations: 239.5 kB / 4.52 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/14.16, allocations: 200.8 kB / 4.52 GB, free: 220.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/14.16, allocations: 271.3 kB / 4.52 GB, free: 220.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 3.784e-06/14.16, allocations: 2.188 kB / 4.52 GB, free: 220.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.001328/14.16, allocations: 491.2 kB / 4.521 GB, free: 220.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/14.16, allocations: 81.08 kB / 4.521 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/14.16, allocations: 0.8506 MB / 4.522 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/14.16, allocations: 29.2 kB / 4.522 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/14.16, allocations: 0.4951 MB / 4.522 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/14.16, allocations: 103 kB / 4.522 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/14.16, allocations: 0 / 4.522 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/14.16, allocations: 326.9 kB / 4.523 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/14.16, allocations: 179.8 kB / 4.523 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/14.16, allocations: 0.4894 MB / 4.523 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/14.16, allocations: 263.9 kB / 4.523 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.279e-06/14.16, allocations: 3.969 kB / 4.523 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00129/14.16, allocations: 0.6161 MB / 4.524 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004379/14.16, allocations: 2.126 MB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/14.16, allocations: 7.906 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/14.16, allocations: 6.719 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/14.16, allocations: 114.7 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/14.16, allocations: 19.69 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/14.17, allocations: 85.72 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/14.17, allocations: 27.69 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/14.17, allocations: 3.75 kB / 4.526 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008485/14.17, allocations: 420.6 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.324e-06/14.17, allocations: 3.781 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/14.17, allocations: 11.83 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/14.17, allocations: 103.6 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/14.17, allocations: 11.53 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/14.17, allocations: 85.03 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/14.17, allocations: 25.22 kB / 4.527 GB, free: 216 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/14.17, allocations: 122.6 kB / 4.527 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/14.17, allocations: 92.38 kB / 4.527 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009263/14.17, allocations: 440.6 kB / 4.528 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/14.17, allocations: 14.3 kB / 4.528 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/14.17, allocations: 0 / 4.528 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-06/14.17, allocations: 3.938 kB / 4.528 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/14.17, allocations: 1.26 MB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-06/14.17, allocations: 3.656 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/14.17, allocations: 66.72 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.6e-06/14.17, allocations: 3.812 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/14.17, allocations: 7.719 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.666e-06/14.17, allocations: 6.25 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/14.17, allocations: 7.828 kB / 4.529 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/14.17, allocations: 0.6353 MB / 4.53 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/14.17, allocations: 200.6 kB / 4.53 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/14.17, allocations: 7.594 kB / 4.53 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/14.18, allocations: 49.97 kB / 4.53 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/14.18, allocations: 35.92 kB / 4.53 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/14.18, allocations: 10.62 kB / 4.53 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009674/14.18, allocations: 0.6691 MB / 4.531 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.72e-07/14.18, allocations: 0 / 4.531 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001831/14.18, allocations: 446.4 kB / 4.531 GB, free: 214 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/14.18, allocations: 1.016 MB / 4.532 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001302/14.18, allocations: 0.7618 MB / 4.533 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.266e-06/14.18, allocations: 3.938 kB / 4.533 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/14.18, allocations: 178.8 kB / 4.533 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/14.18, allocations: 394 kB / 4.533 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/14.19, allocations: 1.333 MB / 4.535 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/14.19, allocations: 1.2 MB / 4.536 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002703/14.19, allocations: 0.763 MB / 4.536 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/14.19, allocations: 55.73 kB / 4.537 GB, free: 212 MB / 0.8073 GB Notification: Performance of SimCode: time 1.944e-06/14.19, allocations: 7.562 kB / 4.537 GB, free: 212 MB / 0.8073 GB Notification: Performance of Templates: time 0.04333/14.23, allocations: 20.01 MB / 4.556 GB, free: 196.3 MB / 0.8073 GB