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.002521/0.002525, allocations: 358 kB / 16.59 MB, free: 5.566 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.57/1.57, allocations: 165.8 MB / 183.1 MB, free: 5.434 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 3.696/3.696, allocations: 410.7 MB / 0.6001 GB, free: 15.25 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.001772/0.001772, allocations: 202.2 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004439, allocations: 16 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3903, allocations: 67.44 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001314/0.3917, allocations: 0.9911 MB / 0.8097 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.3924, allocations: 347.1 kB / 0.81 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.3924, allocations: 4 kB / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.3925, allocations: 0 / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.3925, allocations: 11.88 kB / 0.8101 GB, free: 27.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.3929, allocations: 75.7 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.465e-05/0.393, allocations: 23.92 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.393, allocations: 3.938 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.3931, allocations: 12 kB / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.3931, allocations: 11.92 kB / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3932, allocations: 3.938 kB / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.3935, allocations: 175.6 kB / 0.8104 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.3936, allocations: 4 kB / 0.8104 GB, free: 27.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.3936, allocations: 29.7 kB / 0.8104 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3937, allocations: 54.05 kB / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3938, allocations: 0 / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3938, allocations: 0 / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3938, allocations: 4 kB / 0.8104 GB, free: 27.04 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.0003326/0.3941, allocations: 351.1 kB / 0.8108 GB, free: 26.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3942, allocations: 8.031 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.3942, allocations: 3.984 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.3943, allocations: 167 kB / 0.811 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3943, allocations: 4 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.3944, allocations: 8 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3945, allocations: 57.61 kB / 0.811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3945, allocations: 3.938 kB / 0.811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3945, allocations: 0 / 0.811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3946, allocations: 0 / 0.811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.3946, allocations: 19.98 kB / 0.811 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3948, allocations: 161.7 kB / 0.8112 GB, free: 26.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3949, allocations: 62.5 kB / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.395, allocations: 32.84 kB / 0.8113 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.395, allocations: 4 kB / 0.8113 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3951, allocations: 34.56 kB / 0.8113 GB, free: 25.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3951, allocations: 0 / 0.8113 GB, free: 25.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001278/0.3964, allocations: 0.5875 MB / 0.8119 GB, free: 25.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.3964, allocations: 51.41 kB / 0.8119 GB, free: 25.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.3965, allocations: 97.86 kB / 0.812 GB, free: 25.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3965, allocations: 25.7 kB / 0.8121 GB, free: 25.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.3965, allocations: 84.23 kB / 0.8121 GB, free: 25.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3966, allocations: 44.64 kB / 0.8122 GB, free: 24.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.3966, allocations: 4 kB / 0.8122 GB, free: 24.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.3966, allocations: 318.8 kB / 0.8125 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.3967, allocations: 19.98 kB / 0.8125 GB, free: 24.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.3968, allocations: 23.94 kB / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.3969, allocations: 24 kB / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3969, allocations: 0 / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001883/0.3971, allocations: 103 kB / 0.8127 GB, free: 24.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3971, allocations: 7.953 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3971, allocations: 0 / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3971, allocations: 4 kB / 0.8127 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3973, allocations: 23.98 kB / 0.8127 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3973, allocations: 0 / 0.8127 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.3974, allocations: 4 kB / 0.8127 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3974, allocations: 4 kB / 0.8127 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.381e-05/0.3975, allocations: 118.9 kB / 0.8128 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.3975, allocations: 0 / 0.8128 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3978, allocations: 109.8 kB / 0.8129 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3978, allocations: 7.984 kB / 0.8129 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3978, allocations: 0 / 0.8129 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3978, allocations: 81.02 kB / 0.813 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3979, allocations: 8 kB / 0.813 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.398, allocations: 4 kB / 0.813 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.398, allocations: 15.91 kB / 0.813 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002849/0.3983, allocations: 172.9 kB / 0.8132 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003062/0.3986, allocations: 306.6 kB / 0.8135 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.913e-05/0.3987, allocations: 28.39 kB / 0.8135 GB, free: 23.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.144e-05/0.3987, allocations: 79.28 kB / 0.8136 GB, free: 23.47 MB / 378.7 MB Notification: Performance of Backend: time 6.91e-07/0.3987, allocations: 0 / 0.8136 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3993, allocations: 159.5 kB / 0.8137 GB, free: 23.3 MB / 378.7 MB Notification: Performance of SimCode: time 0.000895/0.4002, allocations: 0.7557 MB / 0.8145 GB, free: 22.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004189/0.4044, allocations: 1.029 MB / 0.8155 GB, free: 21.5 MB / 378.7 MB