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.002371/0.002371, allocations: 357.2 kB / 15.94 MB, free: 6.207 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.437/1.437, allocations: 165.8 MB / 182.5 MB, free: 5.449 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 4.091/4.091, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.001682/0.001682, allocations: 190.7 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004567, allocations: 12 kB / 0.7423 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 67.42 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001635/0.3454, allocations: 0.9948 MB / 0.8091 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.3463, allocations: 351.1 kB / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.3464, allocations: 0 / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3464, allocations: 0 / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.3465, allocations: 7.922 kB / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.347, allocations: 71.72 kB / 0.8095 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.633e-05/0.3471, allocations: 27.86 kB / 0.8096 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.3471, allocations: 4 kB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.3472, allocations: 11.98 kB / 0.8096 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.3473, allocations: 19.86 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3473, allocations: 4 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.3477, allocations: 167.7 kB / 0.8098 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.3478, allocations: 0 / 0.8098 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3478, allocations: 29.7 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.348, allocations: 58.03 kB / 0.8098 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.735e-06/0.348, allocations: 0 / 0.8098 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.348, allocations: 4 kB / 0.8098 GB, free: 27.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.459e-06/0.348, allocations: 0 / 0.8098 GB, free: 27.05 MB / 378.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.0003712/0.3484, allocations: 347.2 kB / 0.8102 GB, free: 26.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3485, allocations: 12.03 kB / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3485, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3487, allocations: 171 kB / 0.8103 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3487, allocations: 4 kB / 0.8104 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.3487, allocations: 4 kB / 0.8104 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3489, allocations: 61.55 kB / 0.8104 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3489, allocations: 0 / 0.8104 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.349, allocations: 8 kB / 0.8104 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.349, allocations: 0 / 0.8104 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.3491, allocations: 19.98 kB / 0.8104 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.3493, allocations: 161.7 kB / 0.8106 GB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3495, allocations: 66.47 kB / 0.8107 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.3496, allocations: 32.8 kB / 0.8107 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.3496, allocations: 0 / 0.8107 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3497, allocations: 34.56 kB / 0.8107 GB, free: 25.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.651e-06/0.3497, allocations: 0 / 0.8107 GB, free: 25.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0017/0.3514, allocations: 0.5994 MB / 0.8113 GB, free: 25.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3515, allocations: 51.41 kB / 0.8114 GB, free: 25.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.3516, allocations: 97.84 kB / 0.8115 GB, free: 25.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3516, allocations: 29.7 kB / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.3516, allocations: 80.14 kB / 0.8116 GB, free: 25.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.3517, allocations: 36.58 kB / 0.8116 GB, free: 24.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.3517, allocations: 4 kB / 0.8116 GB, free: 24.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.3518, allocations: 318.9 kB / 0.8119 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.3519, allocations: 27.98 kB / 0.8119 GB, free: 24.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.352, allocations: 19.98 kB / 0.8119 GB, free: 24.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3521, allocations: 25.38 kB / 0.812 GB, free: 24.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3522, allocations: 0 / 0.812 GB, free: 24.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002918/0.3525, allocations: 93.59 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3525, allocations: 11.95 kB / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-06/0.3525, allocations: 0 / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3526, allocations: 0 / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3528, allocations: 27.92 kB / 0.8121 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.3528, allocations: 0 / 0.8121 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.3529, allocations: 8 kB / 0.8121 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3529, allocations: 4 kB / 0.8121 GB, free: 24.43 MB / 378.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 9.615e-05/0.353, allocations: 113.3 kB / 0.8122 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3531, allocations: 4 kB / 0.8122 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3535, allocations: 113.5 kB / 0.8123 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-06/0.3535, allocations: 4 kB / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-06/0.3535, allocations: 0 / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-06/0.3535, allocations: 0 / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.3543, allocations: 346.6 kB / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.866e-06/0.3543, allocations: 3.953 kB / 0.8127 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.3546, allocations: 27.92 kB / 0.8127 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-06/0.3546, allocations: 0 / 0.8127 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3547, allocations: 3.938 kB / 0.8127 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-06/0.3547, allocations: 96 / 0.8127 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.504e-06/0.3547, allocations: 7.938 kB / 0.8127 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.3552, allocations: 214.2 kB / 0.8129 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.3553, allocations: 88.95 kB / 0.813 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3554, allocations: 8.031 kB / 0.813 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3556, allocations: 0 / 0.813 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3557, allocations: 7.984 kB / 0.813 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3557, allocations: 8 kB / 0.813 GB, free: 23.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.3557, allocations: 75.28 kB / 0.8131 GB, free: 23.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3558, allocations: 0 / 0.8131 GB, free: 23.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006871/0.3565, allocations: 35.94 kB / 0.8131 GB, free: 23.29 MB / 378.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.000289/0.3568, allocations: 143.2 kB / 0.8133 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3571, allocations: 51.98 kB / 0.8133 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.923e-06/0.3571, allocations: 0 / 0.8133 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3572, allocations: 35.92 kB / 0.8133 GB, free: 23.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.3578, allocations: 8.656 kB / 0.8134 GB, free: 23.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.3586, allocations: 344.6 kB / 0.8137 GB, free: 22.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.3588, allocations: 0.6887 MB / 0.8144 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.269e-05/0.3589, allocations: 11.97 kB / 0.8144 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.359, allocations: 15.44 kB / 0.8144 GB, free: 21.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.981e-06/0.359, allocations: 4 kB / 0.8144 GB, free: 21.93 MB / 378.7 MB Notification: Performance of Templates: time 0.005518/0.3645, allocations: 0.8908 MB / 0.8153 GB, free: 21.08 MB / 378.7 MB