Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.504/1.504, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 180.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000836/0.0008362, allocations: 103.6 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.486e-05/1.487e-05, allocations: 4 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6054, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.7896, allocations: 138.2 MB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.7898, allocations: 78.23 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.8031, allocations: 4.481 MB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8031, allocations: 0.5625 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.8031, allocations: 5.875 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003613/0.8035, allocations: 335.2 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8036, allocations: 12.59 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.8036, allocations: 6.062 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8037, allocations: 171.6 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8038, allocations: 4.625 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.8038, allocations: 3.938 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.8039, allocations: 16.66 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.804, allocations: 46.41 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.804, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8041, allocations: 0.625 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.8041, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.8043, allocations: 142.9 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.8044, allocations: 57.41 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.8044, allocations: 37.56 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.8044, allocations: 3.938 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.8045, allocations: 32.3 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.8045, allocations: 0 / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008344/0.8053, allocations: 0.5096 MB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.8054, allocations: 54.97 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.8054, allocations: 93 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.8055, allocations: 29.64 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.8055, allocations: 80.14 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.8056, allocations: 43.3 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.8056, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8057, allocations: 318.8 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.8057, allocations: 20.81 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.8058, allocations: 20.56 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.8058, allocations: 26.94 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.8058, allocations: 0 / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.806, allocations: 82.69 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.806, allocations: 7.984 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.806, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.806, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.8061, allocations: 34.5 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8062, allocations: 3.281 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.8062, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.8062, allocations: 7.984 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB 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 () * 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 7.479e-05/0.8063, allocations: 105.5 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.8063, allocations: 7.906 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.8065, allocations: 90.08 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8065, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8065, allocations: 4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8065, allocations: 3.938 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.8069, allocations: 323 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8069, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.807, allocations: 19.98 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8071, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.8071, allocations: 4 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8071, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8071, allocations: 6.562 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.8073, allocations: 215.4 kB / 1.107 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.8074, allocations: 77.11 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8074, allocations: 0.875 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.8075, allocations: 0 / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.8075, allocations: 7.984 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8075, allocations: 4 kB / 1.107 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.8076, allocations: 79.28 kB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8076, allocations: 4.156 kB / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002934/0.8079, allocations: 47.92 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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.0002383/0.8081, allocations: 138.9 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.8082, allocations: 55.92 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8083, allocations: 4 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.263e-05/0.8083, allocations: 31.94 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.8085, allocations: 3.953 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.8089, allocations: 225 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.8092, allocations: 0.6885 MB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.8093, allocations: 12.84 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.8093, allocations: 11.44 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8093, allocations: 0 / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.003126/0.8124, allocations: 0.8612 MB / 1.109 GB, free: 7.656 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)