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.0009742/0.0009742, 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.0009941/0.0009941, allocations: 161 kB / 24.17 MB, free: 332 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.96/1.96, 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.583e-06/1.583e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.456e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002912/0.002936, allocations: 1.38 MB / 0.7766 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003984, allocations: 0.5854 MB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.004019, allocations: 0.6562 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.004042, allocations: 5.141 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.00409, allocations: 5.5 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.004724, allocations: 148.5 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.004796, allocations: 31.84 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.00484, allocations: 9.438 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.004891, allocations: 15.98 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.004954, allocations: 11.97 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.004968, allocations: 0 / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.005463, allocations: 276.1 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.005482, allocations: 4 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.005504, allocations: 21.58 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.005771, allocations: 167.5 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005773, allocations: 0 / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005774, allocations: 0 / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005778, allocations: 0 / 0.7778 GB, free: 2.754 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.0003366/0.006114, allocations: 265.4 kB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006152, allocations: 8.75 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.006185, allocations: 5.438 kB / 0.7781 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.006284, allocations: 110.5 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.006294, allocations: 384 / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.006322, allocations: 14.83 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.006433, allocations: 97.64 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006444, allocations: 4.125 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.006453, allocations: 4.375 kB / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.006459, allocations: 384 / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.00649, allocations: 15.92 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.006611, allocations: 67.8 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.006708, allocations: 46.62 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.006738, allocations: 28.83 kB / 0.7784 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.006753, allocations: 0 / 0.7784 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.00678, allocations: 34.56 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006781, allocations: 0 / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009611/0.007742, allocations: 438.2 kB / 0.7789 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.007772, allocations: 57.03 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.007835, allocations: 98.66 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.007852, allocations: 33.7 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.00788, allocations: 85 kB / 0.7792 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.007923, allocations: 39.64 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.007969, allocations: 26.7 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008072, allocations: 318.8 kB / 0.7795 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.008094, allocations: 11.94 kB / 0.7795 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.008119, allocations: 21.67 kB / 0.7796 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.008178, allocations: 28.84 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008179, allocations: 0 / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001044/0.008284, allocations: 76.05 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.008296, allocations: 4 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008301, allocations: 1.125 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.008313, allocations: 0 / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.008402, allocations: 27.92 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.008407, allocations: 4.594 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.008426, allocations: 1.125 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.008434, allocations: 8 kB / 0.7797 GB, free: 0.6133 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 6.22e-05/0.008496, allocations: 105.8 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.008512, allocations: 16.64 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.008641, allocations: 78.5 kB / 0.7799 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.008642, allocations: 0 / 0.7799 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008645, allocations: 3.984 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.008651, allocations: 8.562 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.008903, allocations: 223.7 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.008909, allocations: 4 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.009001, allocations: 19.94 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009004, allocations: 0.9375 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.009011, allocations: 4 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.009016, allocations: 8.516 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.009019, allocations: 5.406 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.009201, allocations: 179.7 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.009207, allocations: 0 / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.009224, allocations: 4 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.009297, allocations: 13.31 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.009317, allocations: 11.92 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.009324, allocations: 0 / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.181e-05/0.009336, allocations: 10.28 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009336, allocations: 4 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002861/0.009622, allocations: 43.8 kB / 0.7804 GB, free: 15.84 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.000189/0.009811, allocations: 108.9 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.009913, allocations: 45.94 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.009916, allocations: 0 / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.009953, allocations: 32.77 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.01012, allocations: 9.031 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.0107, allocations: 230.8 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01075, allocations: 67.28 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01079, allocations: 7.984 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.01086, allocations: 61.34 kB / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.5e-07/0.01086, allocations: 0 / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.003164/0.01402, allocations: 1.073 MB / 0.782 GB, free: 14.27 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 -s gbode -gbm=radauIIA3 -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.844817498698831]