Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.747/4.747, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 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.002527/0.002527, allocations: 360.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.191/4.191, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001792/0.001792, allocations: 187.7 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 16 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7181, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.9188, allocations: 138.6 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.9191, allocations: 86.8 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.9374, allocations: 4.004 MB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9374, allocations: 4 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9374, allocations: 0 / 1.601 GB, free: 141.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003558/0.9378, allocations: 348.3 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.9379, allocations: 11.62 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.9379, allocations: 4.688 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.938, allocations: 175 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.938, allocations: 2.781 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.9381, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.9382, allocations: 42.81 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9382, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.9382, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.9383, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.9383, allocations: 15.94 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.9385, allocations: 158.8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.9387, allocations: 43.48 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.9388, allocations: 25.39 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.9388, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.9388, allocations: 34.56 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.9388, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0006648/0.9395, allocations: 308 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.9396, allocations: 51.91 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.9396, allocations: 98.62 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.9396, allocations: 25.7 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.9397, allocations: 89.08 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.9397, allocations: 15.66 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.9397, allocations: 6.844 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.9398, allocations: 322.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.9398, allocations: 8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.9399, allocations: 19.97 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.94, allocations: 12 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.94, allocations: 3.938 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001207/0.9401, allocations: 62.14 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9401, allocations: 16.08 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.9401, allocations: 0 / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9402, allocations: 1.125 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.9403, allocations: 8 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9403, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.9403, allocations: 9.062 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.9403, allocations: 0 / 1.603 GB, free: 139.4 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 (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 6.611e-05/0.9404, allocations: 114.8 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.9404, allocations: 3.906 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.9406, allocations: 78.27 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9406, allocations: 0.9688 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9407, allocations: 4 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9407, allocations: 3.578 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.941, allocations: 311.4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.941, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.9411, allocations: 11.98 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9411, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9412, allocations: 0.9688 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9412, allocations: 192 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9412, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.9414, allocations: 183.6 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.9414, allocations: 81.02 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.9415, allocations: 11.94 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.9416, allocations: 3.984 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.9416, allocations: 4.75 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.9416, allocations: 1.406 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.9417, allocations: 82.66 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9417, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003301/0.942, allocations: 31.94 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000206/0.9422, allocations: 136.1 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.9424, allocations: 34.94 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9424, allocations: 3.938 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.9424, allocations: 16 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.9427, allocations: 8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.9432, allocations: 223 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.9434, allocations: 0.6824 MB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.9434, allocations: 9.516 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.9435, allocations: 11.44 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.9435, allocations: 0 / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003449/0.9469, allocations: 0.5892 MB / 1.605 GB, free: 136.8 MB / 0.8542 GB