Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.045/2.045, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 185.3 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 105.8 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 11.78 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.4683, allocations: 133.1 MB / 1.029 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4686, allocations: 79.95 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02178/0.4904, allocations: 4.275 MB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4905, allocations: 3.938 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4905, allocations: 0 / 1.033 GB, free: 8.324 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.0006418/0.4912, allocations: 379.1 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4912, allocations: 8.031 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.4913, allocations: 11.86 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.4914, allocations: 170.9 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.4915, allocations: 8 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.4915, allocations: 4 kB / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4919, allocations: 87.91 kB / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4919, allocations: 0 / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.492, allocations: 4 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.492, allocations: 0 / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.4924, allocations: 55.95 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.4932, allocations: 332.6 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.4937, allocations: 94.52 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4938, allocations: 4 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4938, allocations: 30.56 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.887e-06/0.4938, allocations: 0 / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002632/0.4965, allocations: 0.6807 MB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4965, allocations: 55.41 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.4966, allocations: 96.98 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4967, allocations: 29.7 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.4967, allocations: 84.05 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4968, allocations: 47.44 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.4968, allocations: 4 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4969, allocations: 314.8 kB / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.4972, allocations: 35.98 kB / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4975, allocations: 35.97 kB / 1.036 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4977, allocations: 39.98 kB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4978, allocations: 0 / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005906/0.4984, allocations: 127.8 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4984, allocations: 7.953 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4984, allocations: 0 / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4984, allocations: 4 kB / 1.036 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4987, allocations: 27.98 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4987, allocations: 96 / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.4989, allocations: 15.92 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4989, allocations: 4.547 kB / 1.036 GB, free: 5.273 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.0001172/0.499, allocations: 113.8 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.4991, allocations: 7.906 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.4998, allocations: 145.4 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4998, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4998, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4998, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.5007, allocations: 390.4 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5008, allocations: 3.953 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.5011, allocations: 35.97 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.5011, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.5011, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5011, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5011, allocations: 4 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.502, allocations: 259.5 kB / 1.037 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.5021, allocations: 89.16 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.5021, allocations: 7.938 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5023, allocations: 11.98 kB / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.5024, allocations: 4 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.5024, allocations: 7.984 kB / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.5025, allocations: 83.45 kB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5025, allocations: 0 / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004327/0.5029, allocations: 43.94 kB / 1.037 GB, free: 3.988 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.0002897/0.5032, allocations: 147.1 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.5038, allocations: 87.89 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5038, allocations: 0 / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.5041, allocations: 55.91 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5043, allocations: 4 kB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5054, allocations: 389.1 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5057, allocations: 0.6926 MB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.5058, allocations: 12.66 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.5058, allocations: 15.44 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.5058, allocations: 0 / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of Templates: time 0.004827/0.5107, allocations: 1.023 MB / 1.039 GB, free: 1.543 MB / 0.6823 GB