Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001427, allocations: 186.2 kB / 15.77 MB, free: 6.375 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.6883/0.6883, allocations: 82.94 MB / 99.43 MB, free: 2.227 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.111/2.111, allocations: 205.4 MB / 325.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 88.33 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 12 kB / 471.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4007, allocations: 67.42 MB / 0.5264 GB, free: 55.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001561/0.4023, allocations: 1.157 MB / 0.5275 GB, free: 54.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.403, allocations: 345.5 kB / 0.5278 GB, free: 54.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.4031, allocations: 1.094 kB / 0.5278 GB, free: 54.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.4031, allocations: 9.297 kB / 0.5278 GB, free: 54.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.4031, allocations: 5.969 kB / 0.5278 GB, free: 54.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.4036, allocations: 70.91 kB / 0.5279 GB, free: 54.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.4036, allocations: 36.59 kB / 0.5279 GB, free: 54.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.4037, allocations: 3.266 kB / 0.5279 GB, free: 54.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.4038, allocations: 20.84 kB / 0.528 GB, free: 54.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.4038, allocations: 30.55 kB / 0.528 GB, free: 54.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.4038, allocations: 2.75 kB / 0.528 GB, free: 54.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.4042, allocations: 183.9 kB / 0.5282 GB, free: 54.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.4042, allocations: 9.375 kB / 0.5282 GB, free: 54.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.4043, allocations: 35.14 kB / 0.5282 GB, free: 54.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.4044, allocations: 70.42 kB / 0.5283 GB, free: 54.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.993e-06/0.4045, allocations: 0 / 0.5283 GB, free: 54.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.31e-06/0.4045, allocations: 0.75 kB / 0.5283 GB, free: 54.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4045, allocations: 1.375 kB / 0.5283 GB, free: 54.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004805/0.405, allocations: 378 kB / 0.5286 GB, free: 53.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.405, allocations: 9.625 kB / 0.5286 GB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.4051, allocations: 16.77 kB / 0.5287 GB, free: 53.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.4052, allocations: 165 kB / 0.5288 GB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4052, allocations: 3.359 kB / 0.5288 GB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4052, allocations: 9.5 kB / 0.5288 GB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4055, allocations: 83.31 kB / 0.5289 GB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4056, allocations: 7.938 kB / 0.5289 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4056, allocations: 1.375 kB / 0.5289 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-06/0.4056, allocations: 2.172 kB / 0.5289 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.4059, allocations: 58.91 kB / 0.529 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.4065, allocations: 330.5 kB / 0.5293 GB, free: 53.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.4068, allocations: 90.23 kB / 0.5294 GB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4069, allocations: 2.172 kB / 0.5294 GB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.4069, allocations: 35.94 kB / 0.5294 GB, free: 53.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.912e-06/0.4069, allocations: 3.984 kB / 0.5294 GB, free: 53.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001901/0.4088, allocations: 0.672 MB / 0.5301 GB, free: 52.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4089, allocations: 52.02 kB / 0.5301 GB, free: 52.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.409, allocations: 101.2 kB / 0.5302 GB, free: 52.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.409, allocations: 26.83 kB / 0.5302 GB, free: 52.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.409, allocations: 96.12 kB / 0.5303 GB, free: 52.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4091, allocations: 35.05 kB / 0.5304 GB, free: 52.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.4091, allocations: 1.344 kB / 0.5304 GB, free: 52.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.4092, allocations: 325.7 kB / 0.5307 GB, free: 52.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.4093, allocations: 39.84 kB / 0.5307 GB, free: 52.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4095, allocations: 33.02 kB / 0.5308 GB, free: 52.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.4097, allocations: 43.36 kB / 0.5308 GB, free: 52.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4097, allocations: 0 / 0.5308 GB, free: 52.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004206/0.4101, allocations: 121.2 kB / 0.5309 GB, free: 51.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4102, allocations: 7.797 kB / 0.5309 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.448e-06/0.4102, allocations: 0 / 0.5309 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4102, allocations: 1.969 kB / 0.5309 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4105, allocations: 29.73 kB / 0.5309 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.212e-06/0.4105, allocations: 6.062 kB / 0.531 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.4106, allocations: 6.484 kB / 0.531 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4106, allocations: 4.531 kB / 0.531 GB, free: 51.95 MB / 410.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 7.911e-05/0.4107, allocations: 121.6 kB / 0.5311 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4108, allocations: 2.312 kB / 0.5311 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.4112, allocations: 142.4 kB / 0.5312 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-06/0.4113, allocations: 2.375 kB / 0.5312 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-06/0.4113, allocations: 0 / 0.5312 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4113, allocations: 4.453 kB / 0.5312 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.412, allocations: 395.5 kB / 0.5316 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-06/0.412, allocations: 0 / 0.5316 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.4122, allocations: 26.56 kB / 0.5316 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.826e-06/0.4122, allocations: 1.344 kB / 0.5316 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4122, allocations: 9.969 kB / 0.5316 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.089e-06/0.4122, allocations: 5.938 kB / 0.5316 GB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4123, allocations: 80 / 0.5316 GB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.4129, allocations: 259.4 kB / 0.5319 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.4129, allocations: 86.91 kB / 0.532 GB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4129, allocations: 8.5 kB / 0.532 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4131, allocations: 13.52 kB / 0.532 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.4132, allocations: 5.484 kB / 0.532 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4132, allocations: 8.516 kB / 0.532 GB, free: 51.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.4132, allocations: 79.5 kB / 0.5321 GB, free: 51.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.4132, allocations: 0 / 0.5321 GB, free: 51.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.4136, allocations: 39.88 kB / 0.5321 GB, free: 51.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.000217/0.4139, allocations: 130.9 kB / 0.5322 GB, free: 50.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.4143, allocations: 100.7 kB / 0.5323 GB, free: 50.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.07e-06/0.4143, allocations: 1.531 kB / 0.5323 GB, free: 50.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.4145, allocations: 50.12 kB / 0.5324 GB, free: 50.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4148, allocations: 15.16 kB / 0.5324 GB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.4155, allocations: 380.5 kB / 0.5328 GB, free: 50.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.4157, allocations: 0.6955 MB / 0.5334 GB, free: 49.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.4158, allocations: 10.27 kB / 0.5335 GB, free: 49.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4159, allocations: 17.62 kB / 0.5335 GB, free: 49.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.338e-06/0.4159, allocations: 4 kB / 0.5335 GB, free: 49.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004455/0.4203, allocations: 1.055 MB / 0.5345 GB, free: 49.8 MB / 410.7 MB