Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.724/4.724, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 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.002498/0.002497, allocations: 361.3 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.041/4.041, allocations: 410.7 MB / 1.113 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001826/0.001825, allocations: 183.5 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 16 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7319, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.9353, allocations: 138.7 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.9357, allocations: 84.94 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02009/0.9558, allocations: 4.495 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9558, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9559, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003485/0.9562, allocations: 352.5 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9563, allocations: 11.62 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.9563, allocations: 8.875 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.9564, allocations: 174.9 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.9564, allocations: 4.906 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.9565, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.9566, allocations: 47.44 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9566, allocations: 1.078 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.9567, allocations: 8 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9567, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.9568, allocations: 15.98 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.9569, allocations: 170.8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.9571, allocations: 64.16 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.9571, allocations: 24.84 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9572, allocations: 1.969 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.9572, allocations: 36 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9572, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001286/0.9585, allocations: 0.5902 MB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.9585, allocations: 56.56 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.04e-05/0.9586, allocations: 91.11 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.9586, allocations: 33.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.9587, allocations: 84.08 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.9587, allocations: 35.95 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.9587, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.9588, allocations: 327.8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.9589, allocations: 21.94 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.9589, allocations: 23.98 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.959, allocations: 20 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.959, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.9592, allocations: 97.55 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9592, allocations: 4.812 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9593, allocations: 7.938 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9593, allocations: 1.969 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.9595, allocations: 19.94 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9595, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.9595, allocations: 8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.9596, allocations: 3.984 kB / 1.604 GB, free: 138.3 MB / 0.8542 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 7.223e-05/0.9596, allocations: 123.9 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.9597, allocations: 7.906 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.9599, allocations: 101.6 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.9599, allocations: 0.7812 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.96, allocations: 5.266 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.96, allocations: 3.984 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.9604, allocations: 349.7 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9604, allocations: 6.953 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.9606, allocations: 23.94 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9606, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.9606, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.9606, allocations: 4 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9607, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.9609, allocations: 223.9 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.961, allocations: 78.3 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.961, allocations: 4 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.9611, allocations: 4.031 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.9612, allocations: 9.047 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.9612, allocations: 4 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.9612, allocations: 80.25 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9612, allocations: 0 / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000357/0.9616, allocations: 56.88 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002368/0.9619, allocations: 146.5 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.962, allocations: 55.98 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9621, allocations: 4.531 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.9621, allocations: 37.73 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.9624, allocations: 14.12 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.9631, allocations: 325.6 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.9633, allocations: 0.6929 MB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.804e-05/0.9633, allocations: 13.52 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.9634, allocations: 15.44 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.9634, allocations: 0.5 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003915/0.9673, allocations: 0.9092 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB