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.087/2.087, allocations: 251 MB / 265.9 MB, free: 11.7 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.001543/0.001542, allocations: 180.1 kB / 325.5 MB, free: 2.891 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.392/2.392, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001221/0.00122, allocations: 93.92 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006517/0.0006518, allocations: 12.59 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2474, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.4803, allocations: 132.3 MB / 1.028 GB, free: 12.98 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.4807, allocations: 75.95 kB / 1.028 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.5008, allocations: 4.001 MB / 1.032 GB, free: 8.898 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5009, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.5009, allocations: 4 kB / 1.032 GB, free: 8.895 MB / 0.6824 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.0004552/0.5014, allocations: 355.2 kB / 1.032 GB, free: 8.5 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5014, allocations: 8.031 kB / 1.032 GB, free: 8.492 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.539e-05/0.5015, allocations: 30.56 kB / 1.032 GB, free: 8.453 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.5015, allocations: 7.953 kB / 1.032 GB, free: 8.445 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.5017, allocations: 163 kB / 1.033 GB, free: 8.246 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5017, allocations: 4 kB / 1.033 GB, free: 8.242 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.5018, allocations: 8 kB / 1.033 GB, free: 8.234 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5019, allocations: 41.62 kB / 1.033 GB, free: 8.188 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5019, allocations: 0 / 1.033 GB, free: 8.188 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.5019, allocations: 4 kB / 1.033 GB, free: 8.184 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.502, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.502, allocations: 11.94 kB / 1.033 GB, free: 8.172 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.5022, allocations: 157.7 kB / 1.033 GB, free: 7.969 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.5025, allocations: 46.56 kB / 1.033 GB, free: 7.914 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.5025, allocations: 3.984 kB / 1.033 GB, free: 7.91 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5026, allocations: 34.5 kB / 1.033 GB, free: 7.867 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.5026, allocations: 0 / 1.033 GB, free: 7.867 MB / 0.6824 GB Notification: Performance of matching and sorting (n=6): time 0.0008286/0.5034, allocations: 314.6 kB / 1.033 GB, free: 7.508 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5035, allocations: 55.39 kB / 1.033 GB, free: 7.441 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.5036, allocations: 93 kB / 1.033 GB, free: 7.344 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5036, allocations: 29.7 kB / 1.033 GB, free: 7.309 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.5037, allocations: 80.14 kB / 1.033 GB, free: 7.227 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.5037, allocations: 23.66 kB / 1.033 GB, free: 7.203 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.5037, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5039, allocations: 318.8 kB / 1.034 GB, free: 6.883 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.5039, allocations: 15.94 kB / 1.034 GB, free: 6.867 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.504, allocations: 11.98 kB / 1.034 GB, free: 6.855 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.504, allocations: 16 kB / 1.034 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.504, allocations: 0 / 1.034 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.5042, allocations: 69.61 kB / 1.034 GB, free: 6.766 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5042, allocations: 4 kB / 1.034 GB, free: 6.762 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5043, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5043, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.5044, allocations: 16 kB / 1.034 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5044, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.5044, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.5045, allocations: 3.938 kB / 1.034 GB, free: 6.742 MB / 0.6824 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 (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 0.0001025/0.5046, allocations: 121.8 kB / 1.034 GB, free: 6.613 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.5046, allocations: 0 / 1.034 GB, free: 6.613 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.5048, allocations: 77.58 kB / 1.034 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5048, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5048, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5048, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.5053, allocations: 315.3 kB / 1.034 GB, free: 6.164 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5053, allocations: 0 / 1.034 GB, free: 6.164 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5054, allocations: 20.02 kB / 1.034 GB, free: 6.145 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5054, allocations: 0 / 1.034 GB, free: 6.145 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.5055, allocations: 0 / 1.034 GB, free: 6.145 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.5055, allocations: 4 kB / 1.034 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5055, allocations: 432 / 1.034 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.5058, allocations: 198 kB / 1.035 GB, free: 5.922 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.5058, allocations: 85.2 kB / 1.035 GB, free: 5.82 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.5059, allocations: 0 / 1.035 GB, free: 5.82 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.506, allocations: 3.984 kB / 1.035 GB, free: 5.816 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.506, allocations: 7.953 kB / 1.035 GB, free: 5.809 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.506, allocations: 4 kB / 1.035 GB, free: 5.805 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.5061, allocations: 79.28 kB / 1.035 GB, free: 5.727 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5061, allocations: 0 / 1.035 GB, free: 5.727 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003493/0.5065, allocations: 31.92 kB / 1.035 GB, free: 5.695 MB / 0.6824 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 () * Number of clocked 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.0007601/0.5072, allocations: 0.8228 MB / 1.036 GB, free: 4.84 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.5074, allocations: 35.94 kB / 1.036 GB, free: 4.805 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5074, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.5075, allocations: 19.92 kB / 1.036 GB, free: 4.785 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.5077, allocations: 13.2 kB / 1.036 GB, free: 4.773 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5087, allocations: 499.5 kB / 1.036 GB, free: 4.23 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.509, allocations: 0.6848 MB / 1.037 GB, free: 3.52 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.5091, allocations: 4 kB / 1.037 GB, free: 3.516 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.5092, allocations: 15.44 kB / 1.037 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of SimCode: time 1.223e-06/0.5092, allocations: 0 / 1.037 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.531, allocations: 1.356 MB / 1.038 GB, free: 2.348 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.5315, allocations: 229.1 kB / 1.038 GB, free: 2.105 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.022, allocations: 0 / 1.038 GB, free: 2.105 MB / 0.6824 GB