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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.424/2.424, allocations: 248.5 MB / 261 MB, free: 5.98 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.002268/0.002267, allocations: 178.1 kB / 320.4 MB, free: 15.35 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.884/1.884, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001485/0.001485, allocations: 96.3 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.849e-05/4.887e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.31, allocations: 132.4 MB / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.31, allocations: 79.12 kB / 1.02 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02298/1.333, allocations: 4.499 MB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/1.334, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.334, allocations: 0 / 1.024 GB, free: 14.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004631/1.334, allocations: 354.3 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.334, allocations: 8.031 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/1.334, allocations: 42.56 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/1.334, allocations: 7.938 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.334, allocations: 167 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.334, allocations: 3.312 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/1.334, allocations: 7.938 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.335, allocations: 49.88 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.335, allocations: 7.844 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.335, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.335, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/1.335, allocations: 15.5 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/1.335, allocations: 176.9 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/1.335, allocations: 59.56 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/1.335, allocations: 31.47 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/1.335, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.335, allocations: 38.31 kB / 1.025 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/1.335, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001428/1.337, allocations: 0.5506 MB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.337, allocations: 55.36 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/1.337, allocations: 92.25 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/1.337, allocations: 25.7 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/1.337, allocations: 92.09 kB / 1.026 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/1.337, allocations: 42.7 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/1.337, allocations: 7.625 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.337, allocations: 314.8 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/1.337, allocations: 19.06 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/1.337, allocations: 19.94 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/1.338, allocations: 18.88 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.338, allocations: 3.938 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/1.338, allocations: 103.7 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.338, allocations: 8 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.338, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.338, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/1.338, allocations: 23.98 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.338, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/1.338, allocations: 3.953 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/1.338, allocations: 4 kB / 1.027 GB, free: 12.21 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 (13): * Single equations (assignments): 13 * 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 9.551e-05/1.338, allocations: 108.4 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/1.338, allocations: 3.438 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/1.339, allocations: 106.5 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.339, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.339, allocations: 3.984 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.339, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/1.339, allocations: 356.5 kB / 1.027 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.339, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/1.34, allocations: 23.88 kB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.34, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.34, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.34, allocations: 7.984 kB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.34, allocations: 7.953 kB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/1.34, allocations: 206.9 kB / 1.027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/1.34, allocations: 85 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.34, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/1.34, allocations: 11.28 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/1.34, allocations: 11.92 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/1.34, allocations: 3.953 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.916e-05/1.34, allocations: 86.66 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.34, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003955/1.341, allocations: 43.88 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008789/1.342, allocations: 0.7826 MB / 1.028 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002083/1.342, allocations: 55.53 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.342, allocations: 0 / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/1.342, allocations: 39.11 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.342, allocations: 4.062 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/1.343, allocations: 286.2 kB / 1.029 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.344, allocations: 0.6887 MB / 1.03 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.325e-05/1.344, allocations: 15.92 kB / 1.03 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/1.344, allocations: 22.88 kB / 1.03 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.344, allocations: 3.938 kB / 1.03 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.364, allocations: 1.767 MB / 1.031 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/1.364, allocations: 191.1 kB / 1.031 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.721, allocations: 0 / 1.031 GB, free: 7.43 MB / 0.6511 GB