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.003511/0.003515, allocations: 354.5 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.433/1.433, allocations: 165.8 MB / 183.1 MB, free: 5.52 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.655/3.655, allocations: 410.7 MB / 0.6001 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.001755/0.001755, allocations: 205.7 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004496, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4207, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.5859, allocations: 98.95 MB / 0.9054 GB, free: 9.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.5863, allocations: 91.92 kB / 0.9054 GB, free: 9.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.6005, allocations: 2.837 MB / 0.9082 GB, free: 6.793 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6005, allocations: 0 / 0.9082 GB, free: 6.793 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.6005, allocations: 0 / 0.9082 GB, free: 6.793 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004128/0.601, allocations: 351.2 kB / 0.9086 GB, free: 6.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.601, allocations: 8.031 kB / 0.9086 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.6011, allocations: 4 kB / 0.9086 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6012, allocations: 159.1 kB / 0.9087 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6012, allocations: 4 kB / 0.9087 GB, free: 6.191 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.6013, allocations: 8 kB / 0.9087 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.6014, allocations: 41.64 kB / 0.9088 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6014, allocations: 0 / 0.9088 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6014, allocations: 4 kB / 0.9088 GB, free: 6.133 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6015, allocations: 0 / 0.9088 GB, free: 6.133 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.6015, allocations: 11.92 kB / 0.9088 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.6017, allocations: 161.7 kB / 0.9089 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.602, allocations: 42.56 kB / 0.909 GB, free: 5.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.602, allocations: 16.86 kB / 0.909 GB, free: 5.844 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.6021, allocations: 3.984 kB / 0.909 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6021, allocations: 30.56 kB / 0.909 GB, free: 5.801 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.6021, allocations: 0 / 0.909 GB, free: 5.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007738/0.6029, allocations: 318.2 kB / 0.9093 GB, free: 5.438 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.6029, allocations: 59.41 kB / 0.9094 GB, free: 5.367 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.603, allocations: 89.86 kB / 0.9095 GB, free: 5.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.6031, allocations: 33.7 kB / 0.9095 GB, free: 5.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.6031, allocations: 84.14 kB / 0.9096 GB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.6032, allocations: 23.64 kB / 0.9096 GB, free: 5.121 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.6032, allocations: 4 kB / 0.9096 GB, free: 5.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6033, allocations: 310.8 kB / 0.9099 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.6034, allocations: 8 kB / 0.9099 GB, free: 4.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.6034, allocations: 23.97 kB / 0.9099 GB, free: 4.773 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.6035, allocations: 15.98 kB / 0.91 GB, free: 4.758 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6035, allocations: 0 / 0.91 GB, free: 4.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001526/0.6037, allocations: 65.59 kB / 0.91 GB, free: 4.688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6037, allocations: 10.75 kB / 0.91 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6037, allocations: 3.953 kB / 0.91 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6037, allocations: 0 / 0.91 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.6038, allocations: 19.94 kB / 0.91 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6038, allocations: 0 / 0.91 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.6039, allocations: 0 / 0.91 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.6039, allocations: 7.984 kB / 0.9101 GB, free: 4.648 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 (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 9.394e-05/0.604, allocations: 113.8 kB / 0.9102 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.604, allocations: 0 / 0.9102 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6042, allocations: 69.59 kB / 0.9102 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6042, allocations: 7.953 kB / 0.9102 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6043, allocations: 0 / 0.9102 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6043, allocations: 3.984 kB / 0.9102 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.6047, allocations: 307.5 kB / 0.9105 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6047, allocations: 0 / 0.9105 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.6048, allocations: 15.94 kB / 0.9106 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6048, allocations: 3.953 kB / 0.9106 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.6049, allocations: 0 / 0.9106 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6049, allocations: 0 / 0.9106 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6049, allocations: 4 kB / 0.9106 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.6051, allocations: 180.5 kB / 0.9107 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.6052, allocations: 85.16 kB / 0.9108 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.6053, allocations: 11.98 kB / 0.9108 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.6054, allocations: 0 / 0.9108 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.6054, allocations: 7.938 kB / 0.9108 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6054, allocations: 0 / 0.9108 GB, free: 3.746 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.6055, allocations: 87.27 kB / 0.9109 GB, free: 3.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.544e-06/0.6055, allocations: 0 / 0.9109 GB, free: 3.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.6058, allocations: 27.88 kB / 0.9109 GB, free: 3.633 MB / 458.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.000234/0.6061, allocations: 131.9 kB / 0.9111 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6062, allocations: 31.98 kB / 0.9111 GB, free: 3.461 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6063, allocations: 0 / 0.9111 GB, free: 3.461 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.6063, allocations: 19.94 kB / 0.9111 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6066, allocations: 5.125 kB / 0.9111 GB, free: 3.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.6071, allocations: 225.6 kB / 0.9113 GB, free: 3.188 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.6074, allocations: 0.6809 MB / 0.912 GB, free: 2.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.6075, allocations: 15.84 kB / 0.912 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.6075, allocations: 15.42 kB / 0.912 GB, free: 2.449 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6075, allocations: 0 / 0.912 GB, free: 2.449 MB / 458.7 MB Notification: Performance of Templates: time 0.003497/0.611, allocations: 0.6037 MB / 0.9126 GB, free: 1.879 MB / 458.7 MB