Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008923/0.008923, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001167/0.001166, allocations: 179.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.826/1.826, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.139/2.139, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007207/0.0007207, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.5587, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.605/6.164, allocations: 2.167 GB / 2.851 GB, free: 301.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/6.164, allocations: 93.08 kB / 2.851 GB, free: 301.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.504/13.67, allocations: 1.725 GB / 4.576 GB, free: 130.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.838e-06/13.67, allocations: 0 / 4.576 GB, free: 130.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001394/13.67, allocations: 35.98 kB / 4.576 GB, free: 130.5 MB / 0.823 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.003355/13.67, allocations: 1.419 MB / 4.578 GB, free: 129.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/13.67, allocations: 8.031 kB / 4.578 GB, free: 129 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/13.67, allocations: 191.6 kB / 4.578 GB, free: 128.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/13.68, allocations: 1.112 MB / 4.579 GB, free: 127.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/13.68, allocations: 45 kB / 4.579 GB, free: 127.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/13.68, allocations: 60 kB / 4.579 GB, free: 127.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/13.68, allocations: 0.7527 MB / 4.58 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/13.68, allocations: 3.938 kB / 4.58 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/13.68, allocations: 24 kB / 4.58 GB, free: 126.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/13.68, allocations: 12 kB / 4.58 GB, free: 126.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/13.68, allocations: 0.5189 MB / 4.58 GB, free: 126.2 MB / 0.823 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.004339/13.68, allocations: 4.427 MB / 4.585 GB, free: 121.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/13.68, allocations: 446.5 kB / 4.585 GB, free: 121 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/13.68, allocations: 194.2 kB / 4.585 GB, free: 120.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/13.68, allocations: 298 kB / 4.586 GB, free: 120.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.144e-06/13.68, allocations: 0 / 4.586 GB, free: 120.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001685/13.69, allocations: 0.6397 MB / 4.586 GB, free: 119.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/13.69, allocations: 89.05 kB / 4.586 GB, free: 119.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/13.69, allocations: 0.9797 MB / 4.587 GB, free: 118.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/13.69, allocations: 41.64 kB / 4.587 GB, free: 118.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/13.69, allocations: 0.5005 MB / 4.588 GB, free: 118.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/13.69, allocations: 114.4 kB / 4.588 GB, free: 118 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/13.69, allocations: 4 kB / 4.588 GB, free: 118 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/13.69, allocations: 330 kB / 4.588 GB, free: 117.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/13.69, allocations: 184.7 kB / 4.588 GB, free: 117.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/13.69, allocations: 0.5008 MB / 4.589 GB, free: 116.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/13.69, allocations: 296 kB / 4.589 GB, free: 116.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-06/13.69, allocations: 4 kB / 4.589 GB, free: 116.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001476/13.69, allocations: 0.6871 MB / 4.59 GB, free: 115.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/13.69, allocations: 2.136 MB / 4.592 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/13.69, allocations: 7.953 kB / 4.592 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/13.69, allocations: 8 kB / 4.592 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/13.69, allocations: 119.8 kB / 4.592 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/13.69, allocations: 8 kB / 4.592 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/13.69, allocations: 103.5 kB / 4.592 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/13.69, allocations: 24 kB / 4.592 GB, free: 113.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/13.69, allocations: 4 kB / 4.592 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/13.7, allocations: 0.5363 MB / 4.593 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.864e-06/13.7, allocations: 4 kB / 4.593 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/13.7, allocations: 12 kB / 4.593 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/13.7, allocations: 103.8 kB / 4.593 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/13.7, allocations: 15.98 kB / 4.593 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/13.7, allocations: 99.84 kB / 4.593 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/13.7, allocations: 27.97 kB / 4.593 GB, free: 112.5 MB / 0.823 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 () * Number of clocked 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.0006894/13.7, allocations: 472.6 kB / 4.593 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/13.7, allocations: 98.78 kB / 4.594 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/13.7, allocations: 0.5052 MB / 4.594 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.052e-06/13.7, allocations: 7.938 kB / 4.594 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/13.7, allocations: 4 kB / 4.594 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-06/13.7, allocations: 0 / 4.594 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/13.7, allocations: 1.387 MB / 4.595 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-06/13.7, allocations: 4 kB / 4.595 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/13.7, allocations: 63.89 kB / 4.595 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/13.7, allocations: 4 kB / 4.595 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/13.7, allocations: 8 kB / 4.595 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/13.7, allocations: 7.953 kB / 4.595 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/13.7, allocations: 0 / 4.595 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/13.7, allocations: 0.6968 MB / 4.596 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/13.7, allocations: 215.8 kB / 4.596 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/13.7, allocations: 11.95 kB / 4.596 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/13.7, allocations: 55.8 kB / 4.596 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/13.7, allocations: 35.89 kB / 4.596 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/13.7, allocations: 8 kB / 4.596 GB, free: 108.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001209/13.71, allocations: 0.7836 MB / 4.597 GB, free: 107.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.9e-07/13.71, allocations: 0 / 4.597 GB, free: 107.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00183/13.71, allocations: 471.7 kB / 4.598 GB, free: 107.5 MB / 0.823 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) * Number of clocked states: 0 () * 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.001313/13.71, allocations: 0.9088 MB / 4.599 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001632/13.71, allocations: 0.8099 MB / 4.599 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.808e-06/13.71, allocations: 3.938 kB / 4.599 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/13.71, allocations: 200.4 kB / 4.6 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/13.71, allocations: 456.2 kB / 4.6 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/13.72, allocations: 1.957 MB / 4.602 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/13.72, allocations: 1.205 MB / 4.603 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001599/13.72, allocations: 407.8 kB / 4.603 GB, free: 101.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/13.72, allocations: 75.42 kB / 4.604 GB, free: 101.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.767e-06/13.72, allocations: 4 kB / 4.604 GB, free: 101.4 MB / 0.823 GB Notification: Performance of Templates: time 0.05289/13.77, allocations: 26.81 MB / 4.63 GB, free: 74.78 MB / 0.823 GB