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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001225/0.001225, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.382/1.382, allocations: 205.1 MB / 222 MB, free: 4.762 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.545/1.545, allocations: 251.7 MB / 0.5088 GB, free: 3.32 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.001304/0.001304, allocations: 59.91 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4119, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003146/0.4151, allocations: 1.344 MB / 0.7251 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.4162, allocations: 0.6346 MB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.4162, allocations: 0 / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.4163, allocations: 3.938 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.4163, allocations: 0 / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.4168, allocations: 122.2 kB / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.4169, allocations: 43.78 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.4169, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.4169, allocations: 15.94 kB / 0.7259 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.417, allocations: 15.92 kB / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.417, allocations: 0 / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.4175, allocations: 343.4 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.4175, allocations: 7.922 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.4175, allocations: 11.94 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.4178, allocations: 153.6 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4178, allocations: 0 / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4178, allocations: 0 / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.4178, allocations: 4 kB / 0.7264 GB, free: 10.44 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.0004521/0.4183, allocations: 371.4 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4183, allocations: 11.97 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.4184, allocations: 8.938 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4185, allocations: 172.2 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4185, allocations: 4.375 kB / 0.727 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4186, allocations: 8.375 kB / 0.727 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4187, allocations: 46.23 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4187, allocations: 4.188 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4187, allocations: 7.938 kB / 0.727 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4187, allocations: 0 / 0.727 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.4188, allocations: 19.98 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.419, allocations: 165.7 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.4191, allocations: 62.5 kB / 0.7273 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.4192, allocations: 28.84 kB / 0.7273 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4192, allocations: 4 kB / 0.7273 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4192, allocations: 38.56 kB / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.4192, allocations: 0 / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001206/0.4204, allocations: 0.5917 MB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4205, allocations: 55.41 kB / 0.728 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.4206, allocations: 97.86 kB / 0.7281 GB, free: 8.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4206, allocations: 25.8 kB / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.4206, allocations: 99.86 kB / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4207, allocations: 35.38 kB / 0.7282 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.4207, allocations: 29.7 kB / 0.7282 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4209, allocations: 314.8 kB / 0.7285 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.4209, allocations: 24.11 kB / 0.7286 GB, free: 7.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.421, allocations: 23.98 kB / 0.7286 GB, free: 7.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.993e-05/0.4211, allocations: 52.86 kB / 0.7286 GB, free: 7.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4211, allocations: 0 / 0.7286 GB, free: 7.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001467/0.4212, allocations: 109.1 kB / 0.7287 GB, free: 7.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4212, allocations: 4 kB / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4212, allocations: 0 / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4213, allocations: 0 / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4214, allocations: 23.94 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4214, allocations: 0 / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.4214, allocations: 3.984 kB / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4214, allocations: 8 kB / 0.7288 GB, free: 7.719 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 7.484e-05/0.4215, allocations: 109.8 kB / 0.7289 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.4215, allocations: 11.84 kB / 0.7289 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.4217, allocations: 109.5 kB / 0.729 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4217, allocations: 0 / 0.729 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4218, allocations: 4 kB / 0.729 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4218, allocations: 3.984 kB / 0.729 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4222, allocations: 358.5 kB / 0.7294 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4222, allocations: 0 / 0.7294 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4223, allocations: 19.94 kB / 0.7294 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4223, allocations: 3.984 kB / 0.7294 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4223, allocations: 8 kB / 0.7294 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4223, allocations: 0 / 0.7294 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4224, allocations: 3.984 kB / 0.7294 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.4226, allocations: 215.4 kB / 0.7296 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.4227, allocations: 85.11 kB / 0.7297 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4227, allocations: 0 / 0.7297 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.4228, allocations: 4 kB / 0.7297 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4228, allocations: 11.98 kB / 0.7297 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4228, allocations: 3.938 kB / 0.7297 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.4229, allocations: 79.28 kB / 0.7298 GB, free: 6.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4229, allocations: 0 / 0.7298 GB, free: 6.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002648/0.4232, allocations: 43.86 kB / 0.7298 GB, free: 6.555 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.0001986/0.4234, allocations: 135.3 kB / 0.7299 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.4235, allocations: 59.91 kB / 0.73 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4235, allocations: 3.938 kB / 0.73 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.4236, allocations: 35.98 kB / 0.73 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4238, allocations: 0 / 0.73 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.4243, allocations: 310.9 kB / 0.7303 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4245, allocations: 0.6848 MB / 0.731 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.4246, allocations: 8 kB / 0.731 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.4246, allocations: 15.42 kB / 0.731 GB, free: 5.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4246, allocations: 0 / 0.731 GB, free: 5.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002971/0.4276, allocations: 0.9239 MB / 0.7319 GB, free: 4.359 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)