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.002273/0.002273, allocations: 186.1 kB / 15.76 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.7762/0.7762, allocations: 82.93 MB / 99.42 MB, free: 3.254 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.298/2.298, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001029/0.001029, allocations: 82.94 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004453, allocations: 16 kB / 471.6 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08904, allocations: 67.45 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001518/0.0906, allocations: 0.9782 MB / 0.5273 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.09138, allocations: 356.7 kB / 0.5277 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.09142, allocations: 0 / 0.5277 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.09145, allocations: 3.984 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.0915, allocations: 3.984 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.09191, allocations: 78.27 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.09197, allocations: 15.98 kB / 0.5278 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.09203, allocations: 4 kB / 0.5278 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.09207, allocations: 15.92 kB / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.09213, allocations: 19.91 kB / 0.5278 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.09216, allocations: 4 kB / 0.5278 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.09253, allocations: 171.7 kB / 0.528 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.09256, allocations: 8 kB / 0.528 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.0926, allocations: 37.62 kB / 0.528 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.09277, allocations: 56.16 kB / 0.5281 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.569e-06/0.09278, allocations: 4 kB / 0.5281 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.09279, allocations: 0 / 0.5281 GB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.747e-06/0.09281, allocations: 0 / 0.5281 GB, free: 13.3 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.0004305/0.09325, allocations: 343.3 kB / 0.5284 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.0933, allocations: 8.031 kB / 0.5284 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.09334, allocations: 4 kB / 0.5284 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.09349, allocations: 163.1 kB / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.09352, allocations: 4 kB / 0.5286 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.09356, allocations: 12 kB / 0.5286 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.0937, allocations: 53.56 kB / 0.5286 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.09373, allocations: 0 / 0.5286 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.09375, allocations: 0 / 0.5286 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.09377, allocations: 7.938 kB / 0.5286 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.184e-05/0.09384, allocations: 15.98 kB / 0.5286 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.09407, allocations: 169.5 kB / 0.5288 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.09422, allocations: 62.55 kB / 0.5289 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.09426, allocations: 4 kB / 0.5289 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.09431, allocations: 38.5 kB / 0.5289 GB, free: 12.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.078e-06/0.09432, allocations: 0 / 0.5289 GB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001421/0.09575, allocations: 0.5915 MB / 0.5295 GB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.09582, allocations: 59.34 kB / 0.5295 GB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.0959, allocations: 93.86 kB / 0.5296 GB, free: 11.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.09594, allocations: 29.7 kB / 0.5297 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.096, allocations: 84.14 kB / 0.5297 GB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.09607, allocations: 39.39 kB / 0.5298 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-06/0.09608, allocations: 0 / 0.5298 GB, free: 11.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.09625, allocations: 318.8 kB / 0.5301 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.09632, allocations: 20.12 kB / 0.5301 GB, free: 10.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.09639, allocations: 23.98 kB / 0.5301 GB, free: 10.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.09647, allocations: 28 kB / 0.5302 GB, free: 10.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-06/0.09649, allocations: 0 / 0.5302 GB, free: 10.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002179/0.09671, allocations: 101.5 kB / 0.5302 GB, free: 10.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.09674, allocations: 7.953 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.09676, allocations: 0 / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.09679, allocations: 4 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.09693, allocations: 16 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.976e-06/0.09696, allocations: 320 / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.09701, allocations: 8 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.09704, allocations: 7.984 kB / 0.5303 GB, free: 10.72 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 0.0001093/0.09716, allocations: 113.8 kB / 0.5304 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.09718, allocations: 4 kB / 0.5304 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.09744, allocations: 109.5 kB / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-06/0.09746, allocations: 0 / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-06/0.09748, allocations: 0 / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-06/0.09749, allocations: 3.984 kB / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.09804, allocations: 358.4 kB / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-06/0.09806, allocations: 3.984 kB / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.09822, allocations: 19.95 kB / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-06/0.09824, allocations: 0 / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.09826, allocations: 4 kB / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.522e-06/0.09827, allocations: 0 / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.09828, allocations: 0 / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.09866, allocations: 220.6 kB / 0.5311 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.09874, allocations: 85.05 kB / 0.5312 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.09877, allocations: 7.953 kB / 0.5312 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.0989, allocations: 4.094 kB / 0.5312 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.09893, allocations: 7.922 kB / 0.5312 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.09896, allocations: 4 kB / 0.5312 GB, free: 9.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.09902, allocations: 83.28 kB / 0.5313 GB, free: 9.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.19e-07/0.09903, allocations: 0 / 0.5313 GB, free: 9.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.0994, allocations: 35.98 kB / 0.5313 GB, free: 9.574 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.0002361/0.09965, allocations: 131.3 kB / 0.5314 GB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.09986, allocations: 67.84 kB / 0.5315 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.158e-06/0.09987, allocations: 0 / 0.5315 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.09995, allocations: 28 kB / 0.5315 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.1001, allocations: 3.984 kB / 0.5315 GB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.1008, allocations: 337.3 kB / 0.5318 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1012, allocations: 0.6926 MB / 0.5325 GB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.1013, allocations: 8 kB / 0.5325 GB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1013, allocations: 11.44 kB / 0.5325 GB, free: 8.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.276e-06/0.1014, allocations: 4 kB / 0.5325 GB, free: 8.234 MB / 378.7 MB Notification: Performance of Templates: time 0.003881/0.1052, allocations: 0.8968 MB / 0.5334 GB, free: 7.363 MB / 378.7 MB