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.002542/0.002547, allocations: 353 kB / 16.58 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.415/1.415, allocations: 165.8 MB / 183.1 MB, free: 5.461 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.742/3.742, allocations: 410.8 MB / 0.6001 GB, free: 15.07 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.001808/0.001808, allocations: 198.6 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 8 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4371, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.6037, allocations: 99.85 MB / 0.9062 GB, free: 8.793 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6041, allocations: 83.95 kB / 0.9063 GB, free: 8.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.6256, allocations: 4.269 MB / 0.9105 GB, free: 4.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6257, allocations: 0 / 0.9105 GB, free: 4.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.6257, allocations: 4 kB / 0.9105 GB, free: 4.434 MB / 458.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.000591/0.6263, allocations: 379.1 kB / 0.9109 GB, free: 4.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6263, allocations: 8.031 kB / 0.9109 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.6264, allocations: 11.84 kB / 0.9109 GB, free: 3.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6265, allocations: 167.1 kB / 0.911 GB, free: 3.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.6266, allocations: 4 kB / 0.911 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.6266, allocations: 8 kB / 0.911 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.627, allocations: 86.97 kB / 0.9111 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.627, allocations: 3.953 kB / 0.9111 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.6271, allocations: 0 / 0.9111 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6271, allocations: 0 / 0.9111 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.6275, allocations: 59.95 kB / 0.9112 GB, free: 3.629 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.6283, allocations: 332.6 kB / 0.9115 GB, free: 3.254 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.6288, allocations: 94.47 kB / 0.9116 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.6291, allocations: 28.84 kB / 0.9116 GB, free: 3.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.6291, allocations: 4 kB / 0.9116 GB, free: 3.117 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.6291, allocations: 38.55 kB / 0.9117 GB, free: 3.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.6291, allocations: 7.938 kB / 0.9117 GB, free: 3.062 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.002551/0.6317, allocations: 0.6616 MB / 0.9123 GB, free: 2.309 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.6318, allocations: 51.41 kB / 0.9124 GB, free: 2.246 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.6319, allocations: 109.9 kB / 0.9125 GB, free: 2.129 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6319, allocations: 25.7 kB / 0.9125 GB, free: 2.098 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.632, allocations: 92.03 kB / 0.9126 GB, free: 2.004 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.632, allocations: 35.47 kB / 0.9126 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.632, allocations: 7.938 kB / 0.9126 GB, free: 1.961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6322, allocations: 318.8 kB / 0.9129 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.6324, allocations: 43.97 kB / 0.913 GB, free: 1.598 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.6327, allocations: 36.11 kB / 0.913 GB, free: 1.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.633, allocations: 38.73 kB / 0.913 GB, free: 1.527 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.633, allocations: 0 / 0.913 GB, free: 1.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005686/0.6335, allocations: 125.6 kB / 0.9132 GB, free: 1.398 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6336, allocations: 6.812 kB / 0.9132 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6336, allocations: 0 / 0.9132 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6336, allocations: 4.031 kB / 0.9132 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.6339, allocations: 31.92 kB / 0.9132 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6339, allocations: 0 / 0.9132 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.634, allocations: 15.98 kB / 0.9132 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.6341, allocations: 4 kB / 0.9132 GB, free: 1.34 MB / 458.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.0001096/0.6342, allocations: 118.9 kB / 0.9133 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.6342, allocations: 4 kB / 0.9133 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.6349, allocations: 141.7 kB / 0.9135 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6349, allocations: 4 kB / 0.9135 GB, free: 1.066 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6349, allocations: 8.031 kB / 0.9135 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6349, allocations: 3.938 kB / 0.9135 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.6358, allocations: 386.7 kB / 0.9139 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6358, allocations: 0 / 0.9139 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.6361, allocations: 35.92 kB / 0.9139 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6362, allocations: 0 / 0.9139 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6362, allocations: 4 kB / 0.9139 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6362, allocations: 0 / 0.9139 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6362, allocations: 4 kB / 0.9139 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.6371, allocations: 263.4 kB / 0.9142 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.6372, allocations: 85.05 kB / 0.9142 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.6372, allocations: 3.984 kB / 0.9142 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.6374, allocations: 8 kB / 0.9142 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.6374, allocations: 11.98 kB / 0.9143 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.6375, allocations: 4 kB / 0.9143 GB, free: 180 kB / 458.7 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.6375, allocations: 83.34 kB / 0.9143 GB, free: 96 kB / 458.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6375, allocations: 0 / 0.9143 GB, free: 96 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.6379, allocations: 43.98 kB / 0.9144 GB, free: 52 kB / 458.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.0002937/0.6382, allocations: 139.1 kB / 0.9145 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.6388, allocations: 91.88 kB / 0.9146 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6388, allocations: 4 kB / 0.9146 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.6391, allocations: 47.92 kB / 0.9147 GB, free: 15.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.6394, allocations: 11.94 kB / 0.9147 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.6404, allocations: 381.1 kB / 0.915 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6407, allocations: 0.7004 MB / 0.9157 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.704e-05/0.6408, allocations: 12.67 kB / 0.9157 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.6409, allocations: 15.38 kB / 0.9157 GB, free: 14.59 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6409, allocations: 0 / 0.9157 GB, free: 14.59 MB / 474.7 MB Notification: Performance of Templates: time 0.004599/0.6455, allocations: 1.065 MB / 0.9168 GB, free: 13.57 MB / 474.7 MB