Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 248.5 MB / 261.1 MB, free: 6.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 170.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.2 MB / 0.571 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.8 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.692e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1988, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8235/1.022, allocations: 132.2 MB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.023, allocations: 79.75 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02055/1.043, allocations: 4.004 MB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.954e-06/1.043, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.043, allocations: 0 / 1.024 GB, free: 15.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004412/1.044, allocations: 342.3 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.044, allocations: 12.03 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/1.044, allocations: 42.55 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/1.044, allocations: 3.953 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.044, allocations: 163 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.044, allocations: 7.938 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/1.044, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/1.044, allocations: 41.38 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.044, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.044, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.044, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.251e-05/1.045, allocations: 11.95 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/1.045, allocations: 164.6 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/1.045, allocations: 53.36 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/1.045, allocations: 16.3 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/1.045, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.045, allocations: 30.56 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/1.045, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007892/1.046, allocations: 303.5 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.046, allocations: 51.41 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/1.046, allocations: 92.95 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/1.046, allocations: 29.08 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/1.046, allocations: 84.12 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/1.046, allocations: 22.55 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/1.046, allocations: 3.938 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.046, allocations: 319 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/1.047, allocations: 8 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/1.047, allocations: 19.86 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/1.047, allocations: 11.5 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.047, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/1.047, allocations: 64.09 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.047, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.047, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.047, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/1.047, allocations: 15.98 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.047, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/1.047, allocations: 2.938 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.047, allocations: 3.953 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.709e-05/1.047, allocations: 112.5 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/1.047, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/1.047, allocations: 68.14 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/1.047, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.047, allocations: 128 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.047, allocations: 8 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/1.048, allocations: 314.2 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.048, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/1.048, allocations: 19.92 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.048, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.048, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.048, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.048, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/1.048, allocations: 193.8 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/1.049, allocations: 85.12 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/1.049, allocations: 3.812 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/1.049, allocations: 4 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/1.049, allocations: 3.953 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/1.049, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.462e-05/1.049, allocations: 87.33 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.049, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003493/1.049, allocations: 27.69 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007598/1.05, allocations: 0.8232 MB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001399/1.05, allocations: 36.06 kB / 1.027 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.05, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/1.05, allocations: 15.5 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/1.05, allocations: 5.375 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/1.051, allocations: 199.1 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.052, allocations: 0.6809 MB / 1.028 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.293e-05/1.052, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/1.052, allocations: 14.12 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.052, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/1.097, allocations: 1.355 MB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004673/1.098, allocations: 194.8 kB / 1.03 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.377, allocations: 0 / 1.03 GB, free: 9.32 MB / 0.6511 GB