Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.521/2.521, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001403/0.001403, allocations: 168.9 kB / 315.4 MB, free: 4.059 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.123/2.123, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001168/0.001167, allocations: 97.84 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.425e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8746/1.119, allocations: 133.3 MB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.119, allocations: 84.2 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02438/1.144, allocations: 4.239 MB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.144, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.144, allocations: 4 kB / 1.018 GB, free: 1.984 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000667/1.145, allocations: 381.6 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/1.145, allocations: 8.031 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/1.145, allocations: 19.78 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.145, allocations: 166.7 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/1.145, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/1.145, allocations: 4 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/1.145, allocations: 26.44 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/1.145, allocations: 63.67 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.145, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.145, allocations: 4 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.145, allocations: 4 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/1.146, allocations: 294.3 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/1.146, allocations: 66.62 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/1.146, allocations: 16.17 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/1.146, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.147, allocations: 38.5 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/1.147, allocations: 0 / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001245/1.148, allocations: 0.5333 MB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/1.148, allocations: 51.41 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/1.148, allocations: 92.44 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/1.148, allocations: 25.7 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/1.148, allocations: 95.03 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/1.148, allocations: 34.64 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/1.148, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.148, allocations: 318.2 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/1.148, allocations: 22.62 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/1.148, allocations: 18.69 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.874e-05/1.149, allocations: 23.98 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.149, allocations: 3.938 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002488/1.149, allocations: 94.77 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.149, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.149, allocations: 3.953 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.149, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/1.149, allocations: 31.92 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/1.149, allocations: 4.547 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/1.149, allocations: 7.984 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/1.149, allocations: 11 kB / 1.021 GB, free: 15.41 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 0.0001084/1.15, allocations: 101 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002626/1.15, allocations: 81 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/1.15, allocations: 11.86 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/1.15, allocations: 102.5 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.15, allocations: 8 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.15, allocations: 3.984 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.15, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/1.151, allocations: 331.3 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.151, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/1.151, allocations: 27.98 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.151, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.151, allocations: 7.984 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.151, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.151, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/1.152, allocations: 206.2 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/1.152, allocations: 89 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.152, allocations: 3.938 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.152, allocations: 7.984 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/1.152, allocations: 10.06 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/1.152, allocations: 12.05 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.163e-05/1.152, allocations: 81.78 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.152, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004217/1.152, allocations: 39.94 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0008449/1.153, allocations: 0.7831 MB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002006/1.154, allocations: 68.55 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.154, allocations: 0 / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/1.154, allocations: 32.06 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/1.154, allocations: 11.92 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/1.155, allocations: 293.4 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.155, allocations: 0.6963 MB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000101/1.155, allocations: 8.672 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/1.155, allocations: 26.86 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/1.155, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/1.195, allocations: 1.678 MB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003664/1.196, allocations: 196.2 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.527, allocations: 0 / 1.026 GB, free: 10.52 MB / 0.6511 GB