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.001389/0.001393, allocations: 187.9 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7556/0.7556, allocations: 82.93 MB / 99.42 MB, free: 3.25 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 325.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.77 kB / 393.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004501, allocations: 12 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.09001, allocations: 67.45 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001468/0.09153, allocations: 0.982 MB / 0.5273 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.09225, allocations: 340.7 kB / 0.5276 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.09229, allocations: 0 / 0.5276 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.09231, allocations: 0 / 0.5276 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.09237, allocations: 7.984 kB / 0.5276 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.09277, allocations: 75.77 kB / 0.5277 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.159e-05/0.09282, allocations: 11.98 kB / 0.5277 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.09286, allocations: 0 / 0.5277 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.09291, allocations: 11.94 kB / 0.5277 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.09296, allocations: 7.984 kB / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.09298, allocations: 0 / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.09336, allocations: 191.6 kB / 0.5279 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-06/0.09339, allocations: 0 / 0.5279 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.09343, allocations: 29.7 kB / 0.528 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.0936, allocations: 56.16 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.189e-06/0.09362, allocations: 4 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.09363, allocations: 0 / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.69e-06/0.09364, allocations: 0 / 0.528 GB, free: 13.32 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.0004072/0.09406, allocations: 339.3 kB / 0.5283 GB, free: 12.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.09411, allocations: 12.03 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.09415, allocations: 0 / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.0943, allocations: 163 kB / 0.5285 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.09432, allocations: 4 kB / 0.5285 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.09435, allocations: 0 / 0.5285 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.09447, allocations: 49.64 kB / 0.5286 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.0945, allocations: 0 / 0.5286 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.09451, allocations: 0 / 0.5286 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.09453, allocations: 4 kB / 0.5286 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.09459, allocations: 15.98 kB / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.0948, allocations: 153.7 kB / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.09501, allocations: 50.48 kB / 0.5288 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.09505, allocations: 4 kB / 0.5288 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.09509, allocations: 34.56 kB / 0.5288 GB, free: 12.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.09511, allocations: 0 / 0.5288 GB, free: 12.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007161/0.09583, allocations: 318.5 kB / 0.5291 GB, free: 11.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.09589, allocations: 51.41 kB / 0.5292 GB, free: 11.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.09599, allocations: 97.8 kB / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.09602, allocations: 25.7 kB / 0.5293 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.09608, allocations: 88.14 kB / 0.5294 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.09614, allocations: 19.78 kB / 0.5294 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.09616, allocations: 4 kB / 0.5294 GB, free: 11.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.09632, allocations: 310.8 kB / 0.5297 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.09637, allocations: 12 kB / 0.5297 GB, free: 11.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.09641, allocations: 15.92 kB / 0.5297 GB, free: 11.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.09647, allocations: 12 kB / 0.5297 GB, free: 11.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09648, allocations: 0 / 0.5297 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001438/0.09663, allocations: 65.75 kB / 0.5298 GB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.09667, allocations: 8 kB / 0.5298 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.186e-06/0.09668, allocations: 4.078 kB / 0.5298 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.09671, allocations: 3.953 kB / 0.5298 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.09678, allocations: 8 kB / 0.5298 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.244e-06/0.0968, allocations: 3.984 kB / 0.5298 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.09684, allocations: 4 kB / 0.5298 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-06/0.09686, allocations: 4 kB / 0.5298 GB, free: 11.21 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 9.903e-05/0.09696, allocations: 113.8 kB / 0.5299 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.09699, allocations: 4 kB / 0.5299 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.09717, allocations: 73.66 kB / 0.53 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.67e-06/0.09719, allocations: 3.953 kB / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-06/0.09721, allocations: 0 / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-06/0.09722, allocations: 0 / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.09765, allocations: 319.4 kB / 0.5303 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-06/0.09767, allocations: 192 / 0.5303 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.09776, allocations: 12 kB / 0.5303 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-06/0.09778, allocations: 3.953 kB / 0.5303 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.0978, allocations: 8.031 kB / 0.5303 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.09782, allocations: 0 / 0.5303 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-06/0.09783, allocations: 3.938 kB / 0.5303 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.09809, allocations: 190 kB / 0.5305 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.09818, allocations: 89.09 kB / 0.5306 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.09821, allocations: 3.984 kB / 0.5306 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.09833, allocations: 8.062 kB / 0.5306 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.09836, allocations: 0 / 0.5306 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.09838, allocations: 4 kB / 0.5306 GB, free: 10.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.09844, allocations: 79.28 kB / 0.5307 GB, free: 10.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.76e-07/0.09845, allocations: 0 / 0.5307 GB, free: 10.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.09879, allocations: 27.92 kB / 0.5307 GB, free: 10.18 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.0002033/0.09901, allocations: 115.2 kB / 0.5308 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.09915, allocations: 35.92 kB / 0.5309 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.08e-06/0.09917, allocations: 7.938 kB / 0.5309 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.09922, allocations: 19.94 kB / 0.5309 GB, free: 9.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.0994, allocations: 4 kB / 0.5309 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.0999, allocations: 219.9 kB / 0.5311 GB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1003, allocations: 0.6809 MB / 0.5318 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.1003, allocations: 4 kB / 0.5318 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.1004, allocations: 11.44 kB / 0.5318 GB, free: 9.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.366e-06/0.1004, allocations: 0 / 0.5318 GB, free: 9.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003161/0.1035, allocations: 0.5983 MB / 0.5324 GB, free: 8.43 MB / 378.7 MB