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.414/2.414, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001497/0.001496, allocations: 182.1 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 89.78 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.415e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8551/1.053, allocations: 132.5 MB / 1.013 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.054, allocations: 85.31 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02012/1.074, allocations: 3.978 MB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/1.074, allocations: 4 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.074, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 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.0004342/1.074, allocations: 346.4 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.074, allocations: 8.031 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/1.074, allocations: 11.14 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.075, allocations: 159.1 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.075, allocations: 0 / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/1.075, allocations: 4 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.126e-05/1.075, allocations: 7.938 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/1.075, allocations: 36.69 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.075, allocations: 4.922 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.075, allocations: 8 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.075, allocations: 0 / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/1.075, allocations: 145.9 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/1.075, allocations: 40.05 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/1.075, allocations: 15.92 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/1.075, allocations: 0 / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.075, allocations: 34.56 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/1.075, allocations: 3.938 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000676/1.076, allocations: 274.3 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.076, allocations: 59.34 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/1.076, allocations: 95.86 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.076, allocations: 25.7 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/1.076, allocations: 84.14 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/1.076, allocations: 19.25 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.076, allocations: 0 / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.077, allocations: 326.7 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/1.077, allocations: 7 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/1.077, allocations: 10.75 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/1.077, allocations: 7.375 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.077, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001491/1.077, allocations: 60.36 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.077, allocations: 8 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.077, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.077, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.077, allocations: 8 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.077, allocations: 7.984 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/1.077, allocations: 3.938 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/1.077, allocations: 240 / 1.019 GB, free: 1.066 MB / 0.6355 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.762e-05/1.077, allocations: 108.4 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001242/1.077, allocations: 57.25 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/1.077, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/1.078, allocations: 75.55 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.078, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.078, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.078, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/1.078, allocations: 282 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.078, allocations: 4 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/1.078, allocations: 19.36 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.078, allocations: 0 / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.078, allocations: 4 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.078, allocations: 32 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.078, allocations: 4 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/1.079, allocations: 179.4 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/1.079, allocations: 85.38 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/1.079, allocations: 4.031 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/1.079, allocations: 0 / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/1.079, allocations: 19.94 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.079, allocations: 7.109 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.825e-05/1.079, allocations: 79.28 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.079, allocations: 0 / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003692/1.079, allocations: 23.94 kB / 1.02 GB, free: 56 kB / 0.6355 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.0007726/1.08, allocations: 0.8199 MB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001211/1.08, allocations: 27.69 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.08, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/1.08, allocations: 12 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.081, allocations: 7.953 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/1.081, allocations: 189.9 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/1.081, allocations: 0.6807 MB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.843e-05/1.082, allocations: 4 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/1.082, allocations: 20.53 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.082, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/1.116, allocations: 1.038 MB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/1.117, allocations: 187.6 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.341, allocations: 6.281 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB