Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009182/0.0009182, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009242/0.0009242, allocations: 165.5 kB / 24.96 MB, free: 8.129 MB / 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.9067/0.9067, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.816/1.816, allocations: 389.6 MB / 0.6362 GB, free: 12.28 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.546e-05, allocations: 6.906 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001486/0.001502, allocations: 1.381 MB / 0.7773 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.002169, allocations: 0.581 MB / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.002187, allocations: 0 / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.002206, allocations: 3.938 kB / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.002249, allocations: 1.75 kB / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.002578, allocations: 137.6 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.00263, allocations: 31.78 kB / 0.7781 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.00266, allocations: 8 kB / 0.7781 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.002705, allocations: 7.984 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.002744, allocations: 7.984 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.002754, allocations: 0 / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.003038, allocations: 279.4 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.003052, allocations: 3.984 kB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.003065, allocations: 11.94 kB / 0.7784 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.003232, allocations: 151.5 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003234, allocations: 4 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003234, allocations: 1.719 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.003237, allocations: 3.938 kB / 0.7785 GB, free: 2.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002415/0.003479, allocations: 252.7 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.003507, allocations: 8.75 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.00353, allocations: 8.922 kB / 0.7788 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.003601, allocations: 110.8 kB / 0.7789 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.00361, allocations: 4.375 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.003624, allocations: 384 / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/0.00369, allocations: 68.52 kB / 0.7789 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.003697, allocations: 3.781 kB / 0.7789 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.003703, allocations: 384 / 0.7789 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.003707, allocations: 4.312 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.003725, allocations: 11.92 kB / 0.779 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.505e-05/0.0038, allocations: 65.03 kB / 0.779 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.003913, allocations: 38.61 kB / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.003927, allocations: 8.859 kB / 0.7791 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.003942, allocations: 4 kB / 0.7791 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.003959, allocations: 33.31 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003959, allocations: 0 / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003808/0.00434, allocations: 229.2 kB / 0.7793 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.004362, allocations: 55.41 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.962e-05/0.004401, allocations: 103 kB / 0.7795 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.004409, allocations: 25.7 kB / 0.7795 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.004428, allocations: 85.5 kB / 0.7796 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.004449, allocations: 23.8 kB / 0.7796 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.004472, allocations: 17.7 kB / 0.7796 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.004534, allocations: 319.8 kB / 0.7799 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.004541, allocations: 4 kB / 0.7799 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.004552, allocations: 11.98 kB / 0.7799 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.004579, allocations: 33.81 kB / 0.78 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.00458, allocations: 0 / 0.78 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.486e-05/0.004625, allocations: 54.14 kB / 0.78 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.004634, allocations: 7.984 kB / 0.78 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004637, allocations: 1.125 kB / 0.78 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.004647, allocations: 0 / 0.78 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.078e-05/0.004678, allocations: 12.88 kB / 0.78 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.00468, allocations: 0 / 0.78 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.004691, allocations: 7.922 kB / 0.7801 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.004694, allocations: 1.438 kB / 0.7801 GB, free: 1.02 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 (7): * Single equations (assignments): 7 * 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.333e-05/0.004737, allocations: 117.8 kB / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.004744, allocations: 7.984 kB / 0.7802 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.004808, allocations: 50.47 kB / 0.7802 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004809, allocations: 4 kB / 0.7802 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004811, allocations: 0.6875 kB / 0.7802 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004813, allocations: 0 / 0.7802 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.004959, allocations: 216.8 kB / 0.7804 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.00496, allocations: 0 / 0.7804 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.004992, allocations: 8.5 kB / 0.7804 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.004993, allocations: 0 / 0.7804 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.004999, allocations: 8.875 kB / 0.7805 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005, allocations: 0 / 0.7805 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005001, allocations: 0.875 kB / 0.7805 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.947e-05/0.00509, allocations: 164.3 kB / 0.7806 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.005102, allocations: 8.547 kB / 0.7806 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.005109, allocations: 192 / 0.7806 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.005143, allocations: 5.812 kB / 0.7806 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.005157, allocations: 7.938 kB / 0.7806 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.005161, allocations: 4 kB / 0.7806 GB, free: 384 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.975e-06/0.005169, allocations: 12.84 kB / 0.7806 GB, free: 368 kB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/0.005169, allocations: 1.094 kB / 0.7806 GB, free: 368 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001245/0.005294, allocations: 19.94 kB / 0.7807 GB, free: 348 kB / 0.7292 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 (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.0001021/0.005396, allocations: 100.8 kB / 0.7808 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.547e-05/0.005451, allocations: 33.38 kB / 0.7808 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.005453, allocations: 0 / 0.7808 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.005466, allocations: 13.67 kB / 0.7808 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.473e-05/0.00556, allocations: 16.81 kB / 0.7808 GB, free: 172 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.005923, allocations: 184.7 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.0062, allocations: 59.34 kB / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.006219, allocations: 5.984 kB / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.006253, allocations: 55.38 kB / 0.7811 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006253, allocations: 0 / 0.7811 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.001938/0.008192, allocations: 0.7431 MB / 0.7818 GB, free: 15.17 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6150482492521405]