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.001262/0.001262, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001375/0.001375, allocations: 173.8 kB / 25.18 MB, free: 9.109 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.9269/0.9269, allocations: 177.1 MB / 205.6 MB, free: 4.992 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.829/1.829, allocations: 389.5 MB / 0.6364 GB, free: 12.19 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.263e-06/1.263e-06, allocations: 0 / 0.7755 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.457e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00184/0.001855, allocations: 1.386 MB / 0.7769 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.002617, allocations: 0.5796 MB / 0.7775 GB, free: 4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.002641, allocations: 0 / 0.7775 GB, free: 4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.00266, allocations: 7.938 kB / 0.7775 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.002705, allocations: 9.828 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.003137, allocations: 144.9 kB / 0.7776 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.003199, allocations: 31.84 kB / 0.7776 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.003234, allocations: 4 kB / 0.7776 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.003279, allocations: 15.98 kB / 0.7777 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.003335, allocations: 11.97 kB / 0.7777 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.003349, allocations: 7.938 kB / 0.7777 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.003655, allocations: 275.5 kB / 0.7779 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003671, allocations: 3.938 kB / 0.778 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.003691, allocations: 15.97 kB / 0.778 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.003884, allocations: 168.1 kB / 0.7781 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003886, allocations: 0 / 0.7781 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003887, allocations: 0.6875 kB / 0.7781 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.00389, allocations: 0 / 0.7781 GB, free: 3.328 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.0002677/0.004158, allocations: 261.2 kB / 0.7784 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.00419, allocations: 13.38 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.004224, allocations: 13.7 kB / 0.7784 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.592e-05/0.0043, allocations: 109.7 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.00431, allocations: 4.875 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.004332, allocations: 9.391 kB / 0.7785 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.004423, allocations: 101.6 kB / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.004431, allocations: 192 / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004438, allocations: 1.312 kB / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004443, allocations: 384 / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.01e-05/0.004473, allocations: 15.88 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.482e-05/0.004558, allocations: 70.2 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.004629, allocations: 54.61 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.004646, allocations: 13.39 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.004658, allocations: 5.188 kB / 0.7788 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004677, allocations: 30.56 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.004677, allocations: 3.938 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006955/0.005373, allocations: 443.9 kB / 0.7792 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.0054, allocations: 51.41 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.00545, allocations: 106.6 kB / 0.7794 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005462, allocations: 25.7 kB / 0.7794 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.005483, allocations: 92.72 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.005515, allocations: 36.97 kB / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.005546, allocations: 33.69 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.005616, allocations: 314.8 kB / 0.7799 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.00563, allocations: 11.98 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.005643, allocations: 9.594 kB / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.005687, allocations: 43.64 kB / 0.7799 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005688, allocations: 0 / 0.7799 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.645e-05/0.005754, allocations: 65.67 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.005765, allocations: 9.344 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005769, allocations: 0 / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.005776, allocations: 0 / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.005838, allocations: 24 kB / 0.78 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.005843, allocations: 12.52 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.005856, allocations: 5.109 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.00586, allocations: 0 / 0.78 GB, free: 1.18 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.852e-05/0.005909, allocations: 113.8 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.005918, allocations: 5.062 kB / 0.7801 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.006006, allocations: 81.83 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.006008, allocations: 0 / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.006009, allocations: 4.438 kB / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006013, allocations: 4.469 kB / 0.7802 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.006209, allocations: 232.5 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006211, allocations: 0 / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.006269, allocations: 23.98 kB / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006271, allocations: 0 / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006276, allocations: 0 / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006277, allocations: 1.219 kB / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.006279, allocations: 7.875 kB / 0.7805 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.006397, allocations: 179.4 kB / 0.7807 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.006404, allocations: 9.016 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.006413, allocations: 4 kB / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.00645, allocations: 0 / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.006463, allocations: 13.23 kB / 0.7807 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.00647, allocations: 11.98 kB / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.572e-06/0.006477, allocations: 4.859 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006477, allocations: 1.031 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001613/0.006638, allocations: 43.81 kB / 0.7807 GB, free: 416 kB / 0.7292 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.006775, allocations: 129.5 kB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.006844, allocations: 44.83 kB / 0.7809 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.006848, allocations: 0 / 0.7809 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.006871, allocations: 34.28 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.006973, allocations: 8 kB / 0.7809 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.007435, allocations: 255.4 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.007479, allocations: 71.33 kB / 0.7813 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.007531, allocations: 68.78 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.007532, allocations: 0 / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.0018/0.009332, allocations: 1.23 MB / 0.7825 GB, free: 14.61 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 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.390587321482599]