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.301/2.301, allocations: 251 MB / 265.9 MB, free: 11.68 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.001603/0.001603, allocations: 181.5 kB / 325.5 MB, free: 2.883 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.473/2.473, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001119/0.001119, allocations: 97.14 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006817, allocations: 11.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2288, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.4592, allocations: 133.1 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.4596, allocations: 83.95 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02222/0.4819, allocations: 4.263 MB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4819, allocations: 4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4819, allocations: 0 / 1.033 GB, free: 7.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00069/0.4826, allocations: 395 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.4827, allocations: 8.031 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.4828, allocations: 34.56 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.4828, allocations: 11.86 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.483, allocations: 163.1 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.483, allocations: 15.98 kB / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.483, allocations: 7.984 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.4834, allocations: 77.66 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4835, allocations: 4 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4835, allocations: 4 kB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4835, allocations: 0 / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.4839, allocations: 63.89 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.4848, allocations: 328.7 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.4853, allocations: 94.47 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4853, allocations: 3.938 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4854, allocations: 34.52 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.4854, allocations: 4 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002642/0.488, allocations: 0.6696 MB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4881, allocations: 51.41 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4883, allocations: 101 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4883, allocations: 25.7 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.4884, allocations: 92.05 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.4885, allocations: 39.44 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.4885, allocations: 4 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4886, allocations: 314.8 kB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.4889, allocations: 35.97 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.4891, allocations: 41.3 kB / 1.036 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.4894, allocations: 35.98 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4894, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006093/0.49, allocations: 132.3 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4901, allocations: 5.875 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4901, allocations: 7.984 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4901, allocations: 0 / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.4904, allocations: 23.98 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4904, allocations: 4 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.4906, allocations: 8 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4906, allocations: 7.938 kB / 1.036 GB, free: 4.734 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.0001399/0.4907, allocations: 117.8 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.4908, allocations: 15.8 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.4915, allocations: 133.6 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4915, allocations: 4 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4915, allocations: 4 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4916, allocations: 4.172 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.4926, allocations: 386.4 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.4926, allocations: 0 / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.4929, allocations: 39.97 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4929, allocations: 0 / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.4929, allocations: 7.984 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.493, allocations: 0 / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.493, allocations: 3.938 kB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.4939, allocations: 267.8 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.494, allocations: 81.06 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.494, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.4942, allocations: 8 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.4943, allocations: 11.98 kB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4943, allocations: 4 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.4944, allocations: 83.33 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4944, allocations: 0 / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004026/0.4948, allocations: 43.94 kB / 1.037 GB, free: 3.441 MB / 0.6823 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 () * 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.001446/0.4962, allocations: 0.8412 MB / 1.038 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.4968, allocations: 95.89 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4969, allocations: 0 / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.4971, allocations: 52.03 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.4974, allocations: 3.938 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.4997, allocations: 0.7551 MB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5, allocations: 0.6965 MB / 1.039 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.5001, allocations: 16.55 kB / 1.039 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5002, allocations: 31.42 kB / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/0.5003, allocations: 0 / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.5232, allocations: 1.996 MB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.5236, allocations: 231.5 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.871, allocations: 0 / 1.042 GB, free: 14.81 MB / 0.698 GB