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.003705/0.003705, allocations: 356.5 kB / 16.59 MB, free: 5.562 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.483/1.483, allocations: 165.8 MB / 183.1 MB, free: 5.363 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.825/3.825, allocations: 410.7 MB / 0.6001 GB, free: 15.2 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.001809/0.001809, allocations: 197 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 67.44 MB / 0.8088 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001286/0.3967, allocations: 0.9755 MB / 0.8097 GB, free: 27.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.3974, allocations: 347.1 kB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.3974, allocations: 0 / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.3975, allocations: 0 / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.3975, allocations: 0 / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3979, allocations: 79.66 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.398, allocations: 15.94 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.398, allocations: 0 / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.239e-05/0.3981, allocations: 7.984 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.3981, allocations: 11.92 kB / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3982, allocations: 4 kB / 0.8102 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.3985, allocations: 163.6 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.3985, allocations: 11.98 kB / 0.8103 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.3986, allocations: 25.7 kB / 0.8103 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3987, allocations: 62.03 kB / 0.8104 GB, free: 27.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3987, allocations: 0 / 0.8104 GB, free: 27.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3987, allocations: 0 / 0.8104 GB, free: 27.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.3987, allocations: 0 / 0.8104 GB, free: 27.11 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.000331/0.3991, allocations: 339.2 kB / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3991, allocations: 8.031 kB / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3992, allocations: 0 / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.3993, allocations: 171 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3993, allocations: 0 / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.3993, allocations: 8 kB / 0.8109 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3995, allocations: 45.64 kB / 0.8109 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3995, allocations: 0 / 0.8109 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3995, allocations: 3.938 kB / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3995, allocations: 0 / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.3996, allocations: 15.92 kB / 0.811 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3997, allocations: 157.7 kB / 0.8111 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3999, allocations: 50.48 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.4, allocations: 16.86 kB / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4, allocations: 0 / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4001, allocations: 38.64 kB / 0.8112 GB, free: 26.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.4001, allocations: 0 / 0.8112 GB, free: 26.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006353/0.4007, allocations: 306.2 kB / 0.8115 GB, free: 25.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.4008, allocations: 51.41 kB / 0.8116 GB, free: 25.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.4009, allocations: 101.9 kB / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4009, allocations: 25.7 kB / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.4009, allocations: 84.12 kB / 0.8118 GB, free: 25.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.401, allocations: 23.66 kB / 0.8118 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.401, allocations: 0 / 0.8118 GB, free: 25.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4011, allocations: 314.8 kB / 0.8121 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.4012, allocations: 15.98 kB / 0.8121 GB, free: 25.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.4012, allocations: 12 kB / 0.8121 GB, free: 25.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.4013, allocations: 8 kB / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4013, allocations: 4 kB / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.4015, allocations: 73.58 kB / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4015, allocations: 4 kB / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4015, allocations: 0 / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4015, allocations: 7.953 kB / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.4016, allocations: 12.05 kB / 0.8122 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4016, allocations: 4 kB / 0.8122 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.4017, allocations: 0 / 0.8122 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4017, allocations: 7.938 kB / 0.8122 GB, free: 24.98 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.919e-05/0.4018, allocations: 113.8 kB / 0.8123 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.4018, allocations: 4 kB / 0.8123 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.402, allocations: 69.64 kB / 0.8124 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.402, allocations: 3.953 kB / 0.8124 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.402, allocations: 0 / 0.8124 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.402, allocations: 81.11 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.4021, allocations: 0 / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.4021, allocations: 7.984 kB / 0.8125 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.4022, allocations: 4 kB / 0.8125 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001807/0.4024, allocations: 152.8 kB / 0.8126 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002043/0.4026, allocations: 246.8 kB / 0.8129 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.248e-05/0.4026, allocations: 16.02 kB / 0.8129 GB, free: 24.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.4027, allocations: 79.8 kB / 0.813 GB, free: 24.16 MB / 378.7 MB Notification: Performance of Backend: time 5.11e-07/0.4027, allocations: 3.938 kB / 0.813 GB, free: 24.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.4032, allocations: 141.7 kB / 0.8131 GB, free: 24.01 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004919/0.4037, allocations: 0.6507 MB / 0.8137 GB, free: 23.31 MB / 378.7 MB Notification: Performance of Templates: time 0.003669/0.4074, allocations: 0.8 MB / 0.8145 GB, free: 22.52 MB / 378.7 MB