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_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.272/2.272, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001574/0.001574, allocations: 178.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.124/2.124, 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.001177/0.001177, allocations: 86.28 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.025e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9291/1.217, allocations: 132.4 MB / 1.013 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005535/1.218, allocations: 79 kB / 1.013 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/1.232, allocations: 2.822 MB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/1.232, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.353e-06/1.232, allocations: 0 / 1.016 GB, free: 4.246 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.0004441/1.233, allocations: 345.5 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.233, allocations: 16.03 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/1.233, allocations: 3.953 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/1.233, allocations: 163.1 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.233, allocations: 6.375 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/1.233, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.446e-05/1.233, allocations: 7.938 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/1.233, allocations: 40.75 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.233, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.233, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.233, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/1.234, allocations: 145.5 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/1.234, allocations: 37.52 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/1.234, allocations: 16.36 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/1.234, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.234, allocations: 38.64 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.234, allocations: 3.938 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006606/1.235, allocations: 283.8 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.235, allocations: 55.34 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/1.235, allocations: 96.31 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.235, allocations: 25.7 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/1.235, allocations: 80.14 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/1.235, allocations: 19.36 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.235, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.235, allocations: 318.8 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/1.235, allocations: 7.5 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/1.235, allocations: 11.12 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/1.235, allocations: 15.23 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.235, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001472/1.235, allocations: 55.61 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.236, allocations: 7.984 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.236, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.236, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.236, allocations: 15.38 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.236, allocations: 4.625 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/1.236, allocations: 3.938 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.236, allocations: 4 kB / 1.018 GB, free: 2.273 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 9.468e-05/1.236, allocations: 104.9 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001242/1.236, allocations: 60.31 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/1.236, allocations: 3.938 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/1.236, allocations: 75.05 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.236, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.236, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.236, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/1.237, allocations: 286.2 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.237, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.237, allocations: 15.94 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.237, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.237, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.237, allocations: 3.984 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.237, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/1.237, allocations: 185.2 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/1.237, allocations: 88.86 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/1.237, allocations: 3.984 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.237, allocations: 7.938 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/1.237, allocations: 3.953 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.237, allocations: 4 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.677e-05/1.238, allocations: 79.34 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.7e-07/1.238, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000365/1.238, allocations: 27.92 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0006931/1.239, allocations: 0.8151 MB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001348/1.239, allocations: 30.8 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.239, allocations: 4 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/1.239, allocations: 15.05 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/1.239, allocations: 7.953 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/1.24, allocations: 190.1 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/1.24, allocations: 0.6807 MB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.961e-05/1.24, allocations: 11.92 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/1.24, allocations: 11.44 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.24, allocations: 0 / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/1.277, allocations: 1.042 MB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/1.277, allocations: 195.8 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.563, allocations: 3.688 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB