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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001181/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.641 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: 252 MB / 0.5102 GB, free: 4.766 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.0004974/0.0004975, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4843, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001252/0.4856, allocations: 0.9917 MB / 0.7291 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.4865, allocations: 0.5716 MB / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.4865, allocations: 0 / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.4866, allocations: 0 / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.4866, allocations: 7.875 kB / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.487, allocations: 118.3 kB / 0.7298 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.4871, allocations: 15.92 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.4871, allocations: 7.984 kB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.4872, allocations: 8 kB / 0.7298 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.4872, allocations: 7.938 kB / 0.7298 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.4873, allocations: 0 / 0.7298 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.4877, allocations: 339.3 kB / 0.7301 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.4877, allocations: 7.984 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.4878, allocations: 25.7 kB / 0.7302 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.488, allocations: 97.8 kB / 0.7303 GB, free: 9.215 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.488, allocations: 4 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.488, allocations: 0 / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.488, allocations: 4 kB / 0.7303 GB, free: 9.207 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003901/0.4884, allocations: 351.2 kB / 0.7306 GB, free: 8.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4884, allocations: 12.03 kB / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.4885, allocations: 0 / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4886, allocations: 167 kB / 0.7308 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4886, allocations: 12 kB / 0.7308 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4886, allocations: 3.938 kB / 0.7308 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.4887, allocations: 41.69 kB / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4888, allocations: 0 / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4888, allocations: 4 kB / 0.7308 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4888, allocations: 0 / 0.7308 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.4888, allocations: 15.92 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.489, allocations: 165.6 kB / 0.731 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.4892, allocations: 42.5 kB / 0.731 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.4892, allocations: 16.86 kB / 0.7311 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4892, allocations: 3.938 kB / 0.7311 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4893, allocations: 34.56 kB / 0.7311 GB, free: 8.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4893, allocations: 4 kB / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000671/0.4899, allocations: 310.7 kB / 0.7314 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.49, allocations: 51.41 kB / 0.7314 GB, free: 7.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.4901, allocations: 101.8 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4901, allocations: 25.7 kB / 0.7316 GB, free: 7.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.4902, allocations: 84.14 kB / 0.7317 GB, free: 7.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.4902, allocations: 27.64 kB / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4903, allocations: 0 / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4904, allocations: 314.8 kB / 0.732 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.4905, allocations: 12 kB / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.4905, allocations: 11.98 kB / 0.732 GB, free: 7.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.4905, allocations: 19.92 kB / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4905, allocations: 0 / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001/0.4906, allocations: 65.69 kB / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4907, allocations: 9.562 kB / 0.7321 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4907, allocations: 0 / 0.7321 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4907, allocations: 4 kB / 0.7321 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.4907, allocations: 8 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4908, allocations: 0 / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.4908, allocations: 0 / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4908, allocations: 7.984 kB / 0.7321 GB, free: 7.059 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 (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.4e-05/0.4909, allocations: 117.7 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.4909, allocations: 4 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.4911, allocations: 73.56 kB / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4911, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4911, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4911, allocations: 3.984 kB / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.4915, allocations: 315.5 kB / 0.7326 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4915, allocations: 4 kB / 0.7326 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.4915, allocations: 8 kB / 0.7326 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4916, allocations: 3.938 kB / 0.7326 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4916, allocations: 8 kB / 0.7326 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4916, allocations: 4.031 kB / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4916, allocations: 0 / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.4918, allocations: 180.3 kB / 0.7328 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.4919, allocations: 85.12 kB / 0.7329 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4919, allocations: 0 / 0.7329 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.492, allocations: 4 kB / 0.7329 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.492, allocations: 8 kB / 0.7329 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.492, allocations: 8 kB / 0.7329 GB, free: 6.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.4921, allocations: 79.27 kB / 0.733 GB, free: 6.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4921, allocations: 0 / 0.733 GB, free: 6.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000287/0.4924, allocations: 20 kB / 0.733 GB, free: 6.035 MB / 0.545 GB 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.0002265/0.4926, allocations: 127.2 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4928, allocations: 31.92 kB / 0.7331 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4928, allocations: 0 / 0.7331 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.4928, allocations: 20 kB / 0.7332 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4931, allocations: 11.95 kB / 0.7332 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.4936, allocations: 229.7 kB / 0.7334 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4939, allocations: 0.6809 MB / 0.7341 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.4939, allocations: 8.375 kB / 0.7341 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.4939, allocations: 11.44 kB / 0.7341 GB, free: 4.855 MB / 0.545 GB Notification: Performance of SimCode: time 1.864e-06/0.4939, allocations: 0 / 0.7341 GB, free: 4.855 MB / 0.545 GB Notification: Performance of Templates: time 0.003035/0.497, allocations: 0.6001 MB / 0.7347 GB, free: 4.289 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: