Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.764/4.764, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002569/0.002569, allocations: 357.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.118/4.118, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001792/0.001792, allocations: 176 kB / 1.226 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006668/0.0006674, allocations: 16.77 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2033, allocations: 115.3 MB / 1.461 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8754/1.079, allocations: 138.5 MB / 1.597 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.079, allocations: 87.25 kB / 1.597 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0131/1.092, allocations: 2.832 MB / 1.599 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.455e-06/1.092, allocations: 7.938 kB / 1.599 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.092, allocations: 0 / 1.599 GB, free: 0.8477 MB / 0.6667 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.0004194/1.093, allocations: 350.2 kB / 1.6 GB, free: 472 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.093, allocations: 8.031 kB / 1.6 GB, free: 464 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.093, allocations: 4.531 kB / 1.6 GB, free: 460 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.093, allocations: 167 kB / 1.6 GB, free: 252 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.093, allocations: 0 / 1.6 GB, free: 252 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/1.093, allocations: 4 kB / 1.6 GB, free: 248 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/1.093, allocations: 41.12 kB / 1.6 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.093, allocations: 3.938 kB / 1.6 GB, free: 200 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.093, allocations: 0 / 1.6 GB, free: 200 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.093, allocations: 0 / 1.6 GB, free: 200 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/1.093, allocations: 14.92 kB / 1.6 GB, free: 188 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/1.093, allocations: 164.2 kB / 1.6 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/1.094, allocations: 44.44 kB / 1.6 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/1.094, allocations: 16.17 kB / 1.6 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/1.094, allocations: 4 kB / 1.6 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.094, allocations: 30.56 kB / 1.6 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.094, allocations: 0 / 1.6 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0007796/1.095, allocations: 311.9 kB / 1.601 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.095, allocations: 58.78 kB / 1.601 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/1.095, allocations: 97.84 kB / 1.601 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.095, allocations: 29.7 kB / 1.601 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/1.095, allocations: 87.27 kB / 1.601 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.095, allocations: 19.14 kB / 1.601 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.095, allocations: 0 / 1.601 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.095, allocations: 318.8 kB / 1.601 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/1.095, allocations: 11.67 kB / 1.601 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/1.095, allocations: 15.17 kB / 1.601 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/1.095, allocations: 11.88 kB / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.095, allocations: 0 / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000146/1.095, allocations: 67.06 kB / 1.601 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.095, allocations: 8 kB / 1.601 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.095, allocations: 3.938 kB / 1.601 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.096, allocations: 0 / 1.601 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.096, allocations: 15.92 kB / 1.601 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.096, allocations: 3.938 kB / 1.601 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/1.096, allocations: 4 kB / 1.601 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/1.096, allocations: 0 / 1.601 GB, free: 14.8 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 (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.966e-05/1.096, allocations: 117.7 kB / 1.601 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/1.096, allocations: 7.906 kB / 1.601 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/1.096, allocations: 65.22 kB / 1.601 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.096, allocations: 3.984 kB / 1.601 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.096, allocations: 4 kB / 1.601 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.096, allocations: 0 / 1.601 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/1.097, allocations: 318.5 kB / 1.602 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.097, allocations: 0 / 1.602 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/1.097, allocations: 11.94 kB / 1.602 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.097, allocations: 8.031 kB / 1.602 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.097, allocations: 192 / 1.602 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.097, allocations: 7.984 kB / 1.602 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.097, allocations: 0 / 1.602 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/1.097, allocations: 174.8 kB / 1.602 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/1.097, allocations: 88.75 kB / 1.602 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/1.097, allocations: 4 kB / 1.602 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/1.097, allocations: 4.062 kB / 1.602 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/1.097, allocations: 4 kB / 1.602 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.097, allocations: 0 / 1.602 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.729e-05/1.097, allocations: 86.83 kB / 1.602 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.097, allocations: 3.938 kB / 1.602 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000338/1.098, allocations: 27.89 kB / 1.602 GB, free: 13.82 MB / 0.6823 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 () * 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.0002529/1.098, allocations: 131.1 kB / 1.602 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001395/1.098, allocations: 30.55 kB / 1.602 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.098, allocations: 4 kB / 1.602 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/1.098, allocations: 23.11 kB / 1.602 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1.099, allocations: 3.938 kB / 1.602 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/1.099, allocations: 224.7 kB / 1.603 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.099, allocations: 0.6848 MB / 1.603 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.382e-05/1.099, allocations: 7.984 kB / 1.603 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/1.099, allocations: 7.438 kB / 1.603 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/1.1, allocations: 8 kB / 1.603 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.003769/1.103, allocations: 0.5971 MB / 1.604 GB, free: 12.11 MB / 0.6823 GB