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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 253.2 MB / 260.6 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 178.6 kB / 319.9 MB, free: 3.07 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 1.977/1.977, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.00117/0.001169, allocations: 86.62 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.407e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8829/1.114, allocations: 132.4 MB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.115, allocations: 80.02 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01376/1.128, allocations: 2.816 MB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/1.128, allocations: 0 / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.128, allocations: 0 / 1.021 GB, free: 2.621 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.0003812/1.129, allocations: 345.8 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.129, allocations: 12.02 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/1.129, allocations: 7.953 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.129, allocations: 163.1 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.129, allocations: 0.8438 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/1.129, allocations: 4 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.419e-05/1.129, allocations: 11.5 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/1.129, allocations: 33.69 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.129, allocations: 0 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.129, allocations: 4 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.129, allocations: 4 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/1.13, allocations: 137.8 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/1.13, allocations: 44.09 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/1.13, allocations: 20.05 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/1.13, allocations: 0 / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.13, allocations: 42.02 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/1.13, allocations: 4 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006196/1.131, allocations: 276.9 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.131, allocations: 59.34 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/1.131, allocations: 85 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/1.131, allocations: 29.64 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/1.131, allocations: 88.14 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.131, allocations: 15.17 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.131, allocations: 4 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.131, allocations: 322.3 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/1.131, allocations: 7.875 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/1.131, allocations: 8 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/1.131, allocations: 11.11 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.131, allocations: 0 / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001374/1.131, allocations: 56.42 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.131, allocations: 9.406 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.131, allocations: 0 / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.131, allocations: 3.984 kB / 1.022 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/1.131, allocations: 15.94 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.131, allocations: 4 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/1.132, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/1.132, allocations: 3.062 kB / 1.023 GB, free: 0.6445 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 8.652e-05/1.132, allocations: 104.9 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/1.132, allocations: 4 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/1.132, allocations: 68.14 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.132, allocations: 0 / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.132, allocations: 4 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.132, allocations: 0 / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/1.132, allocations: 296.4 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.132, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.132, allocations: 11.94 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.132, allocations: 4 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/1.133, allocations: 3.984 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.133, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.133, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/1.133, allocations: 190.3 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/1.133, allocations: 83.64 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.133, allocations: 3.984 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/1.133, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/1.133, allocations: 4 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.133, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.18e-05/1.133, allocations: 94.7 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.133, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003614/1.133, allocations: 31.88 kB / 1.023 GB, free: 15.69 MB / 0.6511 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.0002411/1.134, allocations: 123.2 kB / 1.023 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.134, allocations: 26.19 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.134, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/1.134, allocations: 14.88 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/1.134, allocations: 8.062 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/1.135, allocations: 147.7 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.135, allocations: 0.6864 MB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.724e-05/1.135, allocations: 7.984 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/1.135, allocations: 11.44 kB / 1.024 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.135, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.003636/1.139, allocations: 0.5811 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB