Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9308/0.9308, allocations: 177.1 MB / 204.6 MB, free: 5.004 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.86/1.86, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.854e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002529/0.002558, allocations: 1.343 MB / 0.7765 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003661, allocations: 0.585 MB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.003684, allocations: 3.938 kB / 0.777 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.003701, allocations: 0 / 0.777 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.003742, allocations: 9.922 kB / 0.7771 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.00423, allocations: 149.2 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.004291, allocations: 27.86 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.004332, allocations: 11.98 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.004371, allocations: 15.98 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.00443, allocations: 11.92 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.004445, allocations: 4 kB / 0.7773 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.004814, allocations: 276.5 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.004831, allocations: 8 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.004848, allocations: 4 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.005089, allocations: 168.5 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005092, allocations: 0 / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005093, allocations: 0 / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.005097, allocations: 0.5938 kB / 0.7777 GB, free: 2.844 MB / 0.7292 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.0003077/0.005405, allocations: 269.1 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.00544, allocations: 9.344 kB / 0.778 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.00547, allocations: 4.938 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.005559, allocations: 115.2 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.00557, allocations: 384 / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.0056, allocations: 12.31 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.0057, allocations: 93.66 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.005712, allocations: 8.797 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.005718, allocations: 1 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.005725, allocations: 4.375 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.005753, allocations: 21.02 kB / 0.7782 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.005857, allocations: 73.03 kB / 0.7783 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.005943, allocations: 39.78 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.005973, allocations: 33 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.005987, allocations: 0 / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.006011, allocations: 31.5 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.006011, allocations: 4 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009385/0.00695, allocations: 430.2 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.006981, allocations: 52.09 kB / 0.7788 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.007038, allocations: 108.4 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.007052, allocations: 29.7 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.007079, allocations: 84.14 kB / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.007119, allocations: 43.62 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.00716, allocations: 30.53 kB / 0.7791 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.007248, allocations: 310.8 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.007268, allocations: 8 kB / 0.7794 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.007291, allocations: 18.92 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.007331, allocations: 36.73 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.007332, allocations: 0 / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.353e-05/0.007406, allocations: 76.55 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.007419, allocations: 4 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007423, allocations: 3.938 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007433, allocations: 0 / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.007497, allocations: 23.98 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.007501, allocations: 3.938 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.007513, allocations: 0 / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007519, allocations: 4 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 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 4.894e-05/0.007568, allocations: 116.7 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.007578, allocations: 8 kB / 0.7797 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.432e-05/0.007673, allocations: 85.66 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007674, allocations: 0 / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007676, allocations: 4 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.00768, allocations: 3.938 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.007864, allocations: 218.8 kB / 0.78 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007865, allocations: 0.9688 kB / 0.78 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.007923, allocations: 19.94 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007925, allocations: 0 / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.007933, allocations: 13.42 kB / 0.78 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007934, allocations: 0 / 0.78 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.007936, allocations: 3.938 kB / 0.7801 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.008124, allocations: 191.6 kB / 0.7802 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.00813, allocations: 4.875 kB / 0.7802 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.008138, allocations: 0 / 0.7802 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.00819, allocations: 0.9531 kB / 0.7802 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.008207, allocations: 19.86 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.008212, allocations: 0.5625 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.236e-06/0.008221, allocations: 10.27 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008221, allocations: 0 / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001539/0.008375, allocations: 43.8 kB / 0.7803 GB, free: 15.92 MB / 0.7448 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.0001372/0.008512, allocations: 109.4 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.008585, allocations: 52.77 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.008588, allocations: 0 / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.008608, allocations: 29.33 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.008712, allocations: 4.594 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.009161, allocations: 232.9 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.009191, allocations: 61.11 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.009219, allocations: 13.16 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.009263, allocations: 67.31 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/0.009263, allocations: 0 / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.002437/0.0117, allocations: 1.068 MB / 0.7819 GB, free: 14.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.790179456118494]