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.002457/0.002457, allocations: 358.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.396/1.396, allocations: 165.8 MB / 183.1 MB, free: 5.488 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.624/3.624, allocations: 410.8 MB / 0.6001 GB, free: 15.16 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.001769/0.001768, allocations: 186 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 19.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.394, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.5602, allocations: 99.06 MB / 0.9055 GB, free: 9.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.5606, allocations: 83.95 kB / 0.9055 GB, free: 9.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.5812, allocations: 4.011 MB / 0.9095 GB, free: 5.523 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5812, allocations: 0 / 0.9095 GB, free: 5.523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5813, allocations: 0 / 0.9095 GB, free: 5.523 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.0004197/0.5817, allocations: 343.2 kB / 0.9098 GB, free: 5.141 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5818, allocations: 12.03 kB / 0.9098 GB, free: 5.129 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.5818, allocations: 4 kB / 0.9098 GB, free: 5.125 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.582, allocations: 163 kB / 0.91 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.582, allocations: 8 kB / 0.91 GB, free: 4.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.582, allocations: 4 kB / 0.91 GB, free: 4.914 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5822, allocations: 45.58 kB / 0.91 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5822, allocations: 0 / 0.91 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5822, allocations: 0 / 0.91 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5822, allocations: 4 kB / 0.91 GB, free: 4.859 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.5823, allocations: 7.984 kB / 0.91 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.5825, allocations: 165.7 kB / 0.9102 GB, free: 4.641 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5828, allocations: 42.56 kB / 0.9102 GB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.5829, allocations: 16.8 kB / 0.9102 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5829, allocations: 4 kB / 0.9102 GB, free: 4.566 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5829, allocations: 30.56 kB / 0.9103 GB, free: 4.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.5829, allocations: 4 kB / 0.9103 GB, free: 4.523 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008178/0.5838, allocations: 306.3 kB / 0.9106 GB, free: 4.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5838, allocations: 55.41 kB / 0.9106 GB, free: 4.105 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.5839, allocations: 97.8 kB / 0.9107 GB, free: 4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.584, allocations: 33.64 kB / 0.9108 GB, free: 3.961 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.584, allocations: 80.14 kB / 0.9108 GB, free: 3.879 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.5841, allocations: 27.62 kB / 0.9109 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.5841, allocations: 4 kB / 0.9109 GB, free: 3.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5842, allocations: 314.8 kB / 0.9112 GB, free: 3.531 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.5843, allocations: 11.98 kB / 0.9112 GB, free: 3.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.5843, allocations: 12 kB / 0.9112 GB, free: 3.508 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.5844, allocations: 12 kB / 0.9112 GB, free: 3.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5844, allocations: 0 / 0.9112 GB, free: 3.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.5846, allocations: 73.53 kB / 0.9113 GB, free: 3.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5846, allocations: 4 kB / 0.9113 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5846, allocations: 3.953 kB / 0.9113 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5847, allocations: 0 / 0.9113 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5848, allocations: 19.98 kB / 0.9113 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5848, allocations: 240 / 0.9113 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.5848, allocations: 0 / 0.9113 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5848, allocations: 0 / 0.9113 GB, free: 3.391 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 0.000104/0.585, allocations: 113.8 kB / 0.9114 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.585, allocations: 0 / 0.9114 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.5852, allocations: 73.58 kB / 0.9115 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5852, allocations: 11.94 kB / 0.9115 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5852, allocations: 0 / 0.9115 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5852, allocations: 4 kB / 0.9115 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.5857, allocations: 315.5 kB / 0.9118 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5857, allocations: 0 / 0.9118 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5858, allocations: 12 kB / 0.9118 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.5859, allocations: 3.953 kB / 0.9118 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.5859, allocations: 4 kB / 0.9118 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5859, allocations: 3.984 kB / 0.9118 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5859, allocations: 4 kB / 0.9118 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5862, allocations: 180.3 kB / 0.912 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.5862, allocations: 81.09 kB / 0.9121 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.5863, allocations: 8.5 kB / 0.9121 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.5864, allocations: 0 / 0.9121 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.5864, allocations: 4 kB / 0.9121 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5865, allocations: 4 kB / 0.9121 GB, free: 2.477 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.5865, allocations: 95.25 kB / 0.9122 GB, free: 2.383 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5865, allocations: 0 / 0.9122 GB, free: 2.383 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.5869, allocations: 24 kB / 0.9122 GB, free: 2.359 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002539/0.5872, allocations: 127.2 kB / 0.9123 GB, free: 2.223 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.5873, allocations: 35.92 kB / 0.9123 GB, free: 2.188 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5873, allocations: 3.938 kB / 0.9124 GB, free: 2.184 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.5874, allocations: 15.98 kB / 0.9124 GB, free: 2.168 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5877, allocations: 8 kB / 0.9124 GB, free: 2.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.5883, allocations: 220.3 kB / 0.9126 GB, free: 1.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5886, allocations: 0.6887 MB / 0.9133 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.5887, allocations: 7.906 kB / 0.9133 GB, free: 1.195 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.5887, allocations: 11.44 kB / 0.9133 GB, free: 1.184 MB / 458.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5887, allocations: 0 / 0.9133 GB, free: 1.184 MB / 458.7 MB Notification: Performance of Templates: time 0.003727/0.5925, allocations: 0.5779 MB / 0.9138 GB, free: 0.6172 MB / 458.7 MB