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.294/2.294, allocations: 251 MB / 265.9 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 189.8 kB / 325.5 MB, free: 2.875 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.49/2.49, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001249/0.001249, allocations: 86.03 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005061, allocations: 11.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/0.4732, allocations: 132.4 MB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.4736, allocations: 79.94 kB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02338/0.497, allocations: 4.492 MB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.497, allocations: 0 / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4971, allocations: 0 / 1.033 GB, free: 8.262 MB / 0.6823 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.0005243/0.4976, allocations: 367.2 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4977, allocations: 12.03 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.4977, allocations: 34.56 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.4978, allocations: 7.891 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4979, allocations: 171 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.498, allocations: 3.984 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.498, allocations: 8 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4982, allocations: 45.69 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4982, allocations: 3.906 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4982, allocations: 4 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4983, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.4983, allocations: 19.98 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.4986, allocations: 165.6 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4988, allocations: 66.48 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.4988, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.4989, allocations: 42.56 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4989, allocations: 0 / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001685/0.5006, allocations: 0.5797 MB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.5007, allocations: 51.41 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.5008, allocations: 101 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.5008, allocations: 25.7 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.5009, allocations: 88.06 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.5009, allocations: 35.45 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.501, allocations: 3.938 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5011, allocations: 326.8 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.5012, allocations: 16 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.5013, allocations: 23.98 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.5014, allocations: 22 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5014, allocations: 4 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002581/0.5016, allocations: 101.6 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5017, allocations: 9.562 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5017, allocations: 96 / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5017, allocations: 3.938 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.5019, allocations: 19.94 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.502, allocations: 4 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.502, allocations: 4 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.502, allocations: 11.94 kB / 1.035 GB, free: 5.613 MB / 0.6823 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 () * Number of clocked 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.0001266/0.5022, allocations: 113.8 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.5022, allocations: 4 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.5025, allocations: 105.4 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5026, allocations: 4 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.5026, allocations: 0 / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5026, allocations: 3.984 kB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.5032, allocations: 350.5 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5032, allocations: 3.984 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.5035, allocations: 27.94 kB / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5035, allocations: 0 / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5035, allocations: 0 / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5035, allocations: 320 / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5035, allocations: 0 / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.5039, allocations: 219.8 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.504, allocations: 81.02 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.504, allocations: 32 / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.5042, allocations: 16 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.5042, allocations: 7.984 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5043, allocations: 8 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.5043, allocations: 83.23 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5043, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004225/0.5048, allocations: 47.92 kB / 1.036 GB, free: 4.453 MB / 0.6823 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 () * Number of clocked 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.0009921/0.5058, allocations: 0.7905 MB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.5061, allocations: 66.28 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5061, allocations: 0 / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.5062, allocations: 31.94 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5064, allocations: 8 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.5079, allocations: 0.6568 MB / 1.037 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.5083, allocations: 0.6926 MB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.498e-05/0.5084, allocations: 16.03 kB / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.5085, allocations: 19.44 kB / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/0.5085, allocations: 0 / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5355, allocations: 1.757 MB / 1.04 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000395/0.5359, allocations: 221.3 kB / 1.04 GB, free: 288 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/2.947, allocations: 4 kB / 1.04 GB, free: 284 kB / 0.6823 GB