Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.421/4.421, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.366e-05/5.39e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6587, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.904, allocations: 390.6 MB / 1.01 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.904, allocations: 91.69 kB / 1.01 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.411/7.315, allocations: 0.9238 GB / 1.934 GB, free: 88.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.505e-06/7.315, allocations: 0 / 1.934 GB, free: 88.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008042/7.316, allocations: 78.36 kB / 1.934 GB, free: 88.59 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01214/7.328, allocations: 3.169 MB / 1.937 GB, free: 86.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/7.328, allocations: 11.62 kB / 1.937 GB, free: 86.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/7.34, allocations: 1.017 MB / 1.938 GB, free: 86.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06945/7.409, allocations: 19.6 MB / 1.957 GB, free: 77.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/7.409, allocations: 60.33 kB / 1.958 GB, free: 77.13 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000945/7.41, allocations: 108 kB / 1.958 GB, free: 77.13 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005366/7.416, allocations: 1.601 MB / 1.959 GB, free: 76.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006228/7.422, allocations: 1.84 MB / 1.961 GB, free: 75.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/7.422, allocations: 3.938 kB / 1.961 GB, free: 75.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/7.422, allocations: 6.453 kB / 1.961 GB, free: 75.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/7.422, allocations: 40.81 kB / 1.961 GB, free: 75.27 MB / 0.823 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.03089/7.453, allocations: 9.949 MB / 1.971 GB, free: 67.24 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/7.46, allocations: 1.676 MB / 1.972 GB, free: 66.13 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/7.462, allocations: 0.7059 MB / 1.973 GB, free: 65.42 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/7.476, allocations: 3.951 MB / 1.977 GB, free: 61.22 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/7.476, allocations: 43.34 kB / 1.977 GB, free: 61.17 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002819/7.479, allocations: 154.8 kB / 1.977 GB, free: 61.02 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 1.671e-05/7.479, allocations: 4 kB / 1.977 GB, free: 61.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.01277/7.492, allocations: 2.118 MB / 1.979 GB, free: 58.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/7.492, allocations: 60.19 kB / 1.979 GB, free: 58.81 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/7.505, allocations: 3.444 MB / 1.983 GB, free: 55.39 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006095/7.506, allocations: 25.7 kB / 1.983 GB, free: 55.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003021/7.509, allocations: 1.607 MB / 1.984 GB, free: 53.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008111/7.51, allocations: 275.9 kB / 1.984 GB, free: 53.46 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/7.51, allocations: 0 / 1.984 GB, free: 53.46 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002523/7.51, allocations: 381.9 kB / 1.985 GB, free: 53.08 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/7.513, allocations: 0.7458 MB / 1.986 GB, free: 52.33 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/7.516, allocations: 1.507 MB / 1.987 GB, free: 50.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/7.521, allocations: 1.072 MB / 1.988 GB, free: 49.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-05/7.521, allocations: 8 kB / 1.988 GB, free: 49.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01011/7.531, allocations: 2.746 MB / 1.991 GB, free: 46.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002135/7.533, allocations: 9.358 MB / 2 GB, free: 36.56 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.279e-05/7.533, allocations: 26.33 kB / 2 GB, free: 36.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/7.535, allocations: 439.2 kB / 2 GB, free: 36.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/7.538, allocations: 367.4 kB / 2.001 GB, free: 35.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/7.541, allocations: 2.386 MB / 2.003 GB, free: 33.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/7.546, allocations: 139.9 kB / 2.003 GB, free: 33.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007967/7.546, allocations: 155.9 kB / 2.003 GB, free: 33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/7.547, allocations: 4 kB / 2.003 GB, free: 33 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009067/7.556, allocations: 2.143 MB / 2.005 GB, free: 30.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.956e-05/7.556, allocations: 24.09 kB / 2.005 GB, free: 30.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/7.558, allocations: 488.9 kB / 2.006 GB, free: 30.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/7.561, allocations: 347.4 kB / 2.006 GB, free: 30 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/7.571, allocations: 5.054 MB / 2.011 GB, free: 24.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/7.576, allocations: 131.8 kB / 2.011 GB, free: 24.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/7.576, allocations: 136 kB / 2.011 GB, free: 24.49 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007499/7.577, allocations: 172.9 kB / 2.012 GB, free: 24.32 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008056/7.585, allocations: 1.641 MB / 2.013 GB, free: 22.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/7.586, allocations: 311.9 kB / 2.013 GB, free: 22.36 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009213/7.596, allocations: 2.043 MB / 2.015 GB, free: 20.33 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/7.596, allocations: 12 kB / 2.015 GB, free: 20.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/7.596, allocations: 7.891 kB / 2.016 GB, free: 20.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/7.596, allocations: 3.984 kB / 2.016 GB, free: 20.3 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.01567/7.612, allocations: 4.369 MB / 2.02 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/7.612, allocations: 0 / 2.02 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/7.613, allocations: 187.8 kB / 2.02 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/7.615, allocations: 261.8 kB / 2.02 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/7.615, allocations: 27.92 kB / 2.02 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/7.617, allocations: 2.019 MB / 2.022 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/7.617, allocations: 96 / 2.022 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009714/7.627, allocations: 2.639 MB / 2.025 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/7.629, allocations: 0.6881 MB / 2.025 GB, free: 9.965 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/7.631, allocations: 3.984 kB / 2.025 GB, free: 9.961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/7.635, allocations: 135.7 kB / 2.026 GB, free: 9.828 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/7.635, allocations: 69.2 kB / 2.026 GB, free: 9.758 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/7.636, allocations: 63.95 kB / 2.026 GB, free: 9.695 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006818/7.642, allocations: 2.575 MB / 2.028 GB, free: 7.141 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.182e-06/7.643, allocations: 0 / 2.028 GB, free: 7.141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009267/7.652, allocations: 1.591 MB / 2.03 GB, free: 5.547 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01356/7.665, allocations: 4.808 MB / 2.034 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008578/7.674, allocations: 2.939 MB / 2.037 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/7.674, allocations: 0 / 2.037 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/7.676, allocations: 0.6163 MB / 2.038 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01229/7.689, allocations: 1.517 MB / 2.039 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/7.708, allocations: 4.945 MB / 2.044 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004536/7.713, allocations: 2.178 MB / 2.046 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01264/7.726, allocations: 1.58 MB / 2.048 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/7.729, allocations: 1.351 MB / 2.049 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of SimCode: time 2.003e-06/7.729, allocations: 0 / 2.049 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/8.732, allocations: 105.7 MB / 2.153 GB, free: 105 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/8.732, allocations: 185.7 kB / 2.153 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/16.91, allocations: 0 / 2.153 GB, free: 104.8 MB / 0.8542 GB