Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002515/0.002514, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.388/1.388, allocations: 165.8 MB / 183.1 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.663/3.663, allocations: 410.7 MB / 0.6001 GB, free: 15.21 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 193.9 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 19.98 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3964, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.5959, allocations: 99.2 MB / 0.9056 GB, free: 9.453 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.5963, allocations: 79.95 kB / 0.9057 GB, free: 9.375 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.6191, allocations: 4.506 MB / 0.9101 GB, free: 4.863 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6192, allocations: 0 / 0.9101 GB, free: 4.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.6192, allocations: 0 / 0.9101 GB, free: 4.863 MB / 458.7 MB 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.0004555/0.6197, allocations: 355.2 kB / 0.9104 GB, free: 4.469 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6197, allocations: 8.031 kB / 0.9104 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.6198, allocations: 8 kB / 0.9104 GB, free: 4.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.6199, allocations: 163 kB / 0.9106 GB, free: 4.254 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6199, allocations: 8 kB / 0.9106 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.62, allocations: 4 kB / 0.9106 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6201, allocations: 49.67 kB / 0.9106 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6202, allocations: 7.938 kB / 0.9107 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6202, allocations: 0 / 0.9107 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6202, allocations: 4 kB / 0.9107 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.6203, allocations: 19.92 kB / 0.9107 GB, free: 4.156 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.6205, allocations: 173.7 kB / 0.9108 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.6207, allocations: 54.56 kB / 0.9109 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.6208, allocations: 28.84 kB / 0.9109 GB, free: 3.844 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.6208, allocations: 0 / 0.9109 GB, free: 3.844 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.6209, allocations: 30.56 kB / 0.911 GB, free: 3.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.6209, allocations: 4 kB / 0.911 GB, free: 3.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.00165/0.6225, allocations: 0.5952 MB / 0.9115 GB, free: 3.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6226, allocations: 55.41 kB / 0.9116 GB, free: 3.047 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.6227, allocations: 97.84 kB / 0.9117 GB, free: 2.941 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.6227, allocations: 33.83 kB / 0.9117 GB, free: 2.902 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.6228, allocations: 80.14 kB / 0.9118 GB, free: 2.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.6229, allocations: 35.47 kB / 0.9118 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.6229, allocations: 0 / 0.9118 GB, free: 2.785 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.623, allocations: 322.8 kB / 0.9121 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.6231, allocations: 15.98 kB / 0.9121 GB, free: 2.445 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.6232, allocations: 24 kB / 0.9122 GB, free: 2.422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.6233, allocations: 24.81 kB / 0.9122 GB, free: 2.398 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.6233, allocations: 0 / 0.9122 GB, free: 2.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002575/0.6236, allocations: 106.1 kB / 0.9123 GB, free: 2.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6236, allocations: 11.95 kB / 0.9123 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6236, allocations: 0 / 0.9123 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6236, allocations: 0 / 0.9123 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.6238, allocations: 23.92 kB / 0.9123 GB, free: 2.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6239, allocations: 4 kB / 0.9123 GB, free: 2.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.6239, allocations: 4 kB / 0.9123 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6239, allocations: 4 kB / 0.9123 GB, free: 2.242 MB / 458.7 MB 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.0001175/0.6241, allocations: 117.3 kB / 0.9125 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.6241, allocations: 8 kB / 0.9125 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.6244, allocations: 109.8 kB / 0.9126 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6244, allocations: 0 / 0.9126 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6244, allocations: 4 kB / 0.9126 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6245, allocations: 0 / 0.9126 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.625, allocations: 350.5 kB / 0.9129 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6251, allocations: 0 / 0.9129 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.6253, allocations: 27.89 kB / 0.9129 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6253, allocations: 3.984 kB / 0.9129 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6253, allocations: 4 kB / 0.9129 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6253, allocations: 0 / 0.9129 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6253, allocations: 0 / 0.9129 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.6257, allocations: 222.4 kB / 0.9132 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.6258, allocations: 81.02 kB / 0.9132 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.6258, allocations: 3.953 kB / 0.9132 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.626, allocations: 12.02 kB / 0.9132 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.626, allocations: 11.98 kB / 0.9133 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.626, allocations: 8 kB / 0.9133 GB, free: 1.203 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.6261, allocations: 79.27 kB / 0.9133 GB, free: 1.125 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6261, allocations: 96 / 0.9133 GB, free: 1.125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.6265, allocations: 47.88 kB / 0.9134 GB, free: 1.078 MB / 458.7 MB 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.0003016/0.6268, allocations: 139.2 kB / 0.9135 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.6271, allocations: 59.86 kB / 0.9136 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6271, allocations: 0 / 0.9136 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.6272, allocations: 40.08 kB / 0.9136 GB, free: 0.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.6275, allocations: 5.312 kB / 0.9136 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.6283, allocations: 329.1 kB / 0.9139 GB, free: 488 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6286, allocations: 0.6888 MB / 0.9146 GB, free: 15.76 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.6287, allocations: 11.98 kB / 0.9146 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.6288, allocations: 11.44 kB / 0.9146 GB, free: 15.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6288, allocations: 0 / 0.9146 GB, free: 15.74 MB / 474.7 MB Notification: Performance of Templates: time 0.00437/0.6331, allocations: 0.9093 MB / 0.9155 GB, free: 14.86 MB / 474.7 MB