Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002464/0.002463, 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.365/1.365, allocations: 165.9 MB / 182.5 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.059/4.059, allocations: 410.7 MB / 0.5995 GB, free: 37.11 MB / 282.7 MB 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: 182.8 kB / 0.6662 GB, free: 1.777 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007369/0.0007371, allocations: 16.22 kB / 0.7423 GB, free: 73.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1221, allocations: 67.45 MB / 0.8081 GB, free: 17.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001109/0.1233, allocations: 0.985 MB / 0.8091 GB, free: 16.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000592/0.1239, allocations: 351.1 kB / 0.8094 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.1239, allocations: 0 / 0.8094 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.124, allocations: 0 / 0.8094 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.124, allocations: 11.92 kB / 0.8095 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1244, allocations: 67.72 kB / 0.8095 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.1244, allocations: 15.94 kB / 0.8095 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1245, allocations: 7.938 kB / 0.8095 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.1245, allocations: 7.984 kB / 0.8095 GB, free: 15.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.1246, allocations: 8 kB / 0.8096 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1246, allocations: 0 / 0.8096 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1249, allocations: 171.6 kB / 0.8097 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.454e-06/0.1249, allocations: 7.922 kB / 0.8097 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.1249, allocations: 29.7 kB / 0.8098 GB, free: 15.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.125, allocations: 52.16 kB / 0.8098 GB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.56e-06/0.1251, allocations: 4 kB / 0.8098 GB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.641e-06/0.1251, allocations: 0 / 0.8098 GB, free: 15.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1251, allocations: 0 / 0.8098 GB, free: 15.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002885/0.1254, allocations: 343.3 kB / 0.8101 GB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1254, allocations: 8.031 kB / 0.8101 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1255, allocations: 4 kB / 0.8101 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.1256, allocations: 159.1 kB / 0.8103 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1256, allocations: 0 / 0.8103 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1256, allocations: 4 kB / 0.8103 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.1257, allocations: 49.58 kB / 0.8103 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-06/0.1257, allocations: 0 / 0.8103 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1258, allocations: 7.984 kB / 0.8104 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1258, allocations: 3.938 kB / 0.8104 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.1258, allocations: 11.98 kB / 0.8104 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.126, allocations: 157.7 kB / 0.8105 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1262, allocations: 42.56 kB / 0.8106 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.1262, allocations: 24.8 kB / 0.8106 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1263, allocations: 0 / 0.8106 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1263, allocations: 42.53 kB / 0.8106 GB, free: 14.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.632e-06/0.1263, allocations: 0 / 0.8106 GB, free: 14.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005951/0.1269, allocations: 310.1 kB / 0.8109 GB, free: 14.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1269, allocations: 59.41 kB / 0.811 GB, free: 14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.127, allocations: 93.86 kB / 0.8111 GB, free: 13.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.127, allocations: 29.7 kB / 0.8111 GB, free: 13.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.1271, allocations: 84.12 kB / 0.8112 GB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1271, allocations: 11.81 kB / 0.8112 GB, free: 13.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-06/0.1271, allocations: 4 kB / 0.8112 GB, free: 13.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.1272, allocations: 314.8 kB / 0.8115 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.1272, allocations: 11.98 kB / 0.8115 GB, free: 13.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.1273, allocations: 8 kB / 0.8115 GB, free: 13.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.1273, allocations: 16 kB / 0.8115 GB, free: 13.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-06/0.1273, allocations: 4 kB / 0.8115 GB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001185/0.1274, allocations: 69.53 kB / 0.8116 GB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1275, allocations: 7.953 kB / 0.8116 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1275, allocations: 0 / 0.8116 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1275, allocations: 0 / 0.8116 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.1276, allocations: 15.98 kB / 0.8116 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.799e-06/0.1276, allocations: 0 / 0.8116 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.1277, allocations: 0 / 0.8116 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-06/0.1277, allocations: 4 kB / 0.8116 GB, free: 13.3 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 (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 5.519e-05/0.1277, allocations: 113.8 kB / 0.8117 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.1278, allocations: 0 / 0.8117 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1279, allocations: 85.75 kB / 0.8118 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1279, allocations: 4 kB / 0.8118 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.128, allocations: 0 / 0.8118 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-06/0.128, allocations: 0 / 0.8118 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1282, allocations: 311.4 kB / 0.8121 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-06/0.1283, allocations: 3.953 kB / 0.8121 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.1284, allocations: 15.94 kB / 0.8121 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.735e-06/0.1284, allocations: 4.031 kB / 0.8121 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-06/0.1284, allocations: 4.688 kB / 0.8121 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-06/0.1284, allocations: 4 kB / 0.8121 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.1284, allocations: 4 kB / 0.8122 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1286, allocations: 176.2 kB / 0.8123 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1286, allocations: 85.05 kB / 0.8124 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1287, allocations: 4.094 kB / 0.8124 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.1288, allocations: 8 kB / 0.8124 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1288, allocations: 7.984 kB / 0.8124 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-06/0.1288, allocations: 7.922 kB / 0.8124 GB, free: 12.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.1289, allocations: 79.28 kB / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.53e-07/0.1289, allocations: 0 / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.1292, allocations: 27.94 kB / 0.8125 GB, free: 12.27 MB / 378.7 MB 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.0001472/0.1294, allocations: 115.2 kB / 0.8126 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1295, allocations: 39.92 kB / 0.8127 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1295, allocations: 0 / 0.8127 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.1295, allocations: 16 kB / 0.8127 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1298, allocations: 6.859 kB / 0.8127 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1302, allocations: 225.9 kB / 0.8129 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1304, allocations: 0.6809 MB / 0.8136 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.1304, allocations: 7.984 kB / 0.8136 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.1305, allocations: 11.44 kB / 0.8136 GB, free: 11.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1305, allocations: 7.938 kB / 0.8136 GB, free: 11.1 MB / 378.7 MB Notification: Performance of Templates: time 0.003073/0.1335, allocations: 0.5825 MB / 0.8142 GB, free: 10.52 MB / 378.7 MB