Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 195.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.6 MB / 0.5089 GB, free: 3.273 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 0.6218 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4652, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002384/0.4676, allocations: 1.349 MB / 0.7253 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.4686, allocations: 0.6111 MB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.4687, allocations: 0 / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.4687, allocations: 3.984 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.4688, allocations: 7.984 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.4694, allocations: 123.6 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.4694, allocations: 31.86 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.4695, allocations: 4 kB / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.4695, allocations: 19.92 kB / 0.7261 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.4696, allocations: 15.92 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4696, allocations: 0 / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.4701, allocations: 347.3 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.4701, allocations: 0 / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.4701, allocations: 19.92 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.4704, allocations: 145.6 kB / 0.7266 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4704, allocations: 4 kB / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4704, allocations: 0 / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4704, allocations: 4 kB / 0.7266 GB, free: 10.4 MB / 0.545 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.0005383/0.471, allocations: 371.3 kB / 0.727 GB, free: 9.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.471, allocations: 16.02 kB / 0.727 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.471, allocations: 0.9375 kB / 0.727 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4712, allocations: 168.3 kB / 0.7271 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4712, allocations: 384 / 0.7271 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4712, allocations: 12.31 kB / 0.7271 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.4714, allocations: 46.25 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4714, allocations: 192 / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.4714, allocations: 7.938 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4714, allocations: 7.938 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.4715, allocations: 19.98 kB / 0.7272 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.4717, allocations: 169.6 kB / 0.7274 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.4718, allocations: 54.56 kB / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.4718, allocations: 36.83 kB / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4718, allocations: 240 / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4719, allocations: 42.55 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.4719, allocations: 0 / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0012/0.4731, allocations: 0.5837 MB / 0.7281 GB, free: 8.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4732, allocations: 55.41 kB / 0.7281 GB, free: 8.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.4732, allocations: 101.8 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4732, allocations: 25.7 kB / 0.7283 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.4733, allocations: 92 kB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.4733, allocations: 43.34 kB / 0.7284 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.4734, allocations: 29.7 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4735, allocations: 310.8 kB / 0.7287 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.4736, allocations: 23.98 kB / 0.7287 GB, free: 7.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.4736, allocations: 24.11 kB / 0.7288 GB, free: 7.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.4737, allocations: 60.61 kB / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4737, allocations: 0 / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001434/0.4739, allocations: 97.62 kB / 0.7289 GB, free: 7.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4739, allocations: 4 kB / 0.7289 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4739, allocations: 0 / 0.7289 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4739, allocations: 7.938 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4741, allocations: 19.98 kB / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4741, allocations: 0 / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.4741, allocations: 96 / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.4741, allocations: 11.94 kB / 0.7289 GB, free: 7.684 MB / 0.545 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/0.4742, allocations: 118.7 kB / 0.7291 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.4742, allocations: 15.84 kB / 0.7291 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.4745, allocations: 105.6 kB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4745, allocations: 0 / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4745, allocations: 0 / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4745, allocations: 4 kB / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.475, allocations: 346.5 kB / 0.7295 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.475, allocations: 3.938 kB / 0.7295 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4751, allocations: 31.98 kB / 0.7295 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4751, allocations: 3.938 kB / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4751, allocations: 0 / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4751, allocations: 0 / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4751, allocations: 0 / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.4754, allocations: 223.6 kB / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.4755, allocations: 81.17 kB / 0.7298 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4755, allocations: 4.031 kB / 0.7298 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.4756, allocations: 4 kB / 0.7298 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.4756, allocations: 11.92 kB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.4757, allocations: 4 kB / 0.7299 GB, free: 6.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.4757, allocations: 75.28 kB / 0.7299 GB, free: 6.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.914e-06/0.4757, allocations: 0 / 0.7299 GB, free: 6.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002919/0.476, allocations: 39.88 kB / 0.73 GB, free: 6.523 MB / 0.545 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.4763, allocations: 139.3 kB / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.4764, allocations: 71.84 kB / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4764, allocations: 0 / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.4765, allocations: 31.94 kB / 0.7302 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4767, allocations: 11.98 kB / 0.7302 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.4773, allocations: 308.5 kB / 0.7305 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.4777, allocations: 0.6846 MB / 0.7312 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.4777, allocations: 7.938 kB / 0.7312 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.4777, allocations: 19.44 kB / 0.7312 GB, free: 5.199 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.4778, allocations: 0 / 0.7312 GB, free: 5.199 MB / 0.545 GB Notification: Performance of Templates: time 0.003731/0.4815, allocations: 0.9479 MB / 0.7321 GB, free: 4.289 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)