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.272/2.272, allocations: 248.5 MB / 261 MB, free: 6.008 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.001496/0.001496, allocations: 182.8 kB / 320.4 MB, free: 15.31 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.904/1.904, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.001124/0.001124, allocations: 105.5 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.652e-05, allocations: 4 kB / 0.7869 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 106.2 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9942/1.25, allocations: 133 MB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/1.25, allocations: 84.38 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03001/1.28, allocations: 4.27 MB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.654e-06/1.28, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.791e-05/1.28, allocations: 4 kB / 1.025 GB, free: 14.56 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006747/1.281, allocations: 374.1 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.281, allocations: 11.97 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/1.281, allocations: 38.5 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/1.281, allocations: 15.86 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/1.281, allocations: 163.1 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/1.281, allocations: 10.94 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/1.281, allocations: 7.875 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/1.281, allocations: 59.62 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.281, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/1.281, allocations: 11.48 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.282, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/1.282, allocations: 27.19 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/1.283, allocations: 334.8 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/1.283, allocations: 61.44 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/1.283, allocations: 24.31 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/1.283, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.283, allocations: 38.52 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/1.283, allocations: 3.938 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001571/1.285, allocations: 0.5607 MB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.285, allocations: 59.34 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/1.285, allocations: 93 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/1.285, allocations: 28.89 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.285, allocations: 91.47 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/1.285, allocations: 38.58 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/1.285, allocations: 3.562 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.285, allocations: 314.8 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/1.285, allocations: 27.12 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/1.285, allocations: 22.88 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/1.285, allocations: 26.98 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.285, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002763/1.286, allocations: 105.4 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.286, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.286, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.286, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/1.286, allocations: 27.92 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.286, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.286, allocations: 11.81 kB / 1.027 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/1.286, allocations: 12.53 kB / 1.027 GB, free: 11.86 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.0001049/1.286, allocations: 104.9 kB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/1.286, allocations: 7.953 kB / 1.027 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/1.287, allocations: 118.9 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.287, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.287, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.287, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/1.287, allocations: 370.7 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.287, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/1.288, allocations: 31.92 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.288, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/1.288, allocations: 3.75 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.288, allocations: 3.984 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.288, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/1.288, allocations: 227.9 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/1.288, allocations: 85.09 kB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/1.288, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/1.289, allocations: 15.92 kB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/1.289, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/1.289, allocations: 7.938 kB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.984e-05/1.289, allocations: 91.25 kB / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.289, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004/1.289, allocations: 43.81 kB / 1.028 GB, free: 10.76 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.0009264/1.29, allocations: 0.7913 MB / 1.029 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002395/1.291, allocations: 61.88 kB / 1.029 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.291, allocations: 0 / 1.029 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/1.291, allocations: 42.84 kB / 1.029 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/1.291, allocations: 8.812 kB / 1.029 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/1.292, allocations: 297.5 kB / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.292, allocations: 0.7004 MB / 1.03 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001101/1.292, allocations: 12.61 kB / 1.03 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.292, allocations: 29.23 kB / 1.03 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.292, allocations: 0 / 1.03 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/1.317, allocations: 2.005 MB / 1.032 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.318, allocations: 210 kB / 1.032 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.741, allocations: 0 / 1.032 GB, free: 6.766 MB / 0.6511 GB