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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002417/0.002422, allocations: 357.7 kB / 15.95 MB, free: 6.207 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.47/1.47, allocations: 165.8 MB / 182.5 MB, free: 5.512 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.889/3.889, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.00168/0.00168, allocations: 202.6 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007446/0.0007449, allocations: 12 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4108, allocations: 67.45 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001092/0.4119, allocations: 0.9831 MB / 0.8091 GB, free: 27.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005332/0.4125, allocations: 323.2 kB / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.4125, allocations: 0 / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.4126, allocations: 7.922 kB / 0.8094 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.4126, allocations: 0 / 0.8094 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.4129, allocations: 67.67 kB / 0.8095 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.413, allocations: 23.86 kB / 0.8095 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.413, allocations: 0 / 0.8095 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.4131, allocations: 8 kB / 0.8095 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.4131, allocations: 15.92 kB / 0.8095 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.4132, allocations: 0 / 0.8095 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.4134, allocations: 171.6 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.6e-06/0.4134, allocations: 0 / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.4135, allocations: 25.7 kB / 0.8097 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.4136, allocations: 54.05 kB / 0.8098 GB, free: 27.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.361e-06/0.4136, allocations: 0 / 0.8098 GB, free: 27.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.636e-06/0.4136, allocations: 0 / 0.8098 GB, free: 27.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.464e-06/0.4136, allocations: 0 / 0.8098 GB, free: 27.12 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.0002828/0.4139, allocations: 351.2 kB / 0.8101 GB, free: 26.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.414, allocations: 8.031 kB / 0.8101 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.414, allocations: 4 kB / 0.8101 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.4141, allocations: 163 kB / 0.8103 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4141, allocations: 0 / 0.8103 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4141, allocations: 4 kB / 0.8103 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.4142, allocations: 45.58 kB / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4143, allocations: 0 / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-06/0.4143, allocations: 0 / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4143, allocations: 4 kB / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.4144, allocations: 15.98 kB / 0.8104 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.4145, allocations: 157.7 kB / 0.8105 GB, free: 26.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4147, allocations: 46.56 kB / 0.8105 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4147, allocations: 12.8 kB / 0.8106 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.4148, allocations: 8 kB / 0.8106 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.4148, allocations: 34.56 kB / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.4148, allocations: 0 / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005561/0.4154, allocations: 302.7 kB / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.4154, allocations: 51.41 kB / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.4155, allocations: 101.8 kB / 0.811 GB, free: 25.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.4155, allocations: 25.7 kB / 0.8111 GB, free: 25.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.4155, allocations: 88.08 kB / 0.8111 GB, free: 25.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.4156, allocations: 23.64 kB / 0.8112 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-06/0.4156, allocations: 4 kB / 0.8112 GB, free: 25.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.4156, allocations: 318.8 kB / 0.8115 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.4157, allocations: 4 kB / 0.8115 GB, free: 25.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.4157, allocations: 19.97 kB / 0.8115 GB, free: 25.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.4158, allocations: 16.14 kB / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-06/0.4158, allocations: 0 / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001271/0.4159, allocations: 69.53 kB / 0.8116 GB, free: 25.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4159, allocations: 10.81 kB / 0.8116 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-06/0.416, allocations: 3.953 kB / 0.8116 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.416, allocations: 4 kB / 0.8116 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.4161, allocations: 8 kB / 0.8116 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.4161, allocations: 4 kB / 0.8116 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.4161, allocations: 0 / 0.8116 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1e-05/0.4161, allocations: 3.984 kB / 0.8116 GB, free: 24.99 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 0.0001/0.4162, allocations: 117.3 kB / 0.8117 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.4163, allocations: 0 / 0.8117 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.4165, allocations: 69.59 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.927e-06/0.4165, allocations: 7.953 kB / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.906e-06/0.4165, allocations: 4 kB / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.327e-06/0.4165, allocations: 4.109 kB / 0.8118 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.4169, allocations: 315.4 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-06/0.4169, allocations: 0 / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.417, allocations: 8 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.049e-06/0.4171, allocations: 7.953 kB / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-06/0.4171, allocations: 0 / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.743e-06/0.4171, allocations: 0 / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-06/0.4171, allocations: 0 / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4173, allocations: 188.3 kB / 0.8123 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.4174, allocations: 85.03 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4174, allocations: 7.984 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.4175, allocations: 0 / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.4175, allocations: 8 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-06/0.4175, allocations: 0 / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.536e-05/0.4176, allocations: 87.33 kB / 0.8125 GB, free: 23.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4176, allocations: 3.938 kB / 0.8125 GB, free: 23.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.4179, allocations: 20 kB / 0.8125 GB, free: 23.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001548/0.4181, allocations: 127.2 kB / 0.8126 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.4182, allocations: 35.92 kB / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.931e-06/0.4182, allocations: 0 / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.4183, allocations: 12 kB / 0.8127 GB, free: 23.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4186, allocations: 8.875 kB / 0.8127 GB, free: 23.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.419, allocations: 226.1 kB / 0.8129 GB, free: 23.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.4191, allocations: 0.6809 MB / 0.8136 GB, free: 22.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.4192, allocations: 7.906 kB / 0.8136 GB, free: 22.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.4192, allocations: 7.438 kB / 0.8136 GB, free: 22.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4192, allocations: 0 / 0.8136 GB, free: 22.8 MB / 378.7 MB Notification: Performance of Templates: time 0.002984/0.4222, allocations: 0.6209 MB / 0.8142 GB, free: 22.22 MB / 378.7 MB