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.0009181/0.0009181, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0018/0.0018, allocations: 163.5 kB / 24.96 MB, free: 8.719 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.9989/0.9989, 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.859/1.859, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.523e-06/1.523e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.253e-05, allocations: 5.875 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001504/0.001516, allocations: 1.392 MB / 0.7773 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.002447, allocations: 0.5845 MB / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.00247, allocations: 0 / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.00249, allocations: 3.938 kB / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.002531, allocations: 2.188 kB / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.002903, allocations: 152 kB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.002954, allocations: 23.92 kB / 0.7781 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.00299, allocations: 15.97 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.003024, allocations: 19.92 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.003069, allocations: 7.984 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.00308, allocations: 0 / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.003369, allocations: 279.4 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.003384, allocations: 7.984 kB / 0.7784 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.003399, allocations: 8 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003571, allocations: 166.6 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003573, allocations: 4 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.71e-07/0.003573, allocations: 0 / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.003576, allocations: 0 / 0.7786 GB, free: 2.742 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.0002479/0.003824, allocations: 268.6 kB / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.003855, allocations: 12.69 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.003879, allocations: 4.938 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.376e-05/0.003953, allocations: 109.8 kB / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.003962, allocations: 1.062 kB / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.00398, allocations: 8.375 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.004062, allocations: 98.73 kB / 0.779 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004069, allocations: 192 / 0.779 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004078, allocations: 8.375 kB / 0.779 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004083, allocations: 1.375 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.004105, allocations: 15.92 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.863e-05/0.004193, allocations: 69.03 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.004259, allocations: 43.16 kB / 0.7792 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.004278, allocations: 21.61 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.004294, allocations: 4.828 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.004317, allocations: 42.5 kB / 0.7792 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004318, allocations: 0.875 kB / 0.7792 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006734/0.004991, allocations: 437.9 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.005014, allocations: 56.16 kB / 0.7797 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.005058, allocations: 104.4 kB / 0.7798 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005069, allocations: 33.7 kB / 0.7798 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.005087, allocations: 80.14 kB / 0.7799 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.005117, allocations: 43.62 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.005149, allocations: 25.7 kB / 0.78 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.005214, allocations: 319.3 kB / 0.7803 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.005225, allocations: 8.562 kB / 0.7803 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.005238, allocations: 12 kB / 0.7803 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.005276, allocations: 40.91 kB / 0.7803 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005277, allocations: 0 / 0.7803 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.299e-05/0.00534, allocations: 73.67 kB / 0.7804 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.005351, allocations: 6.031 kB / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005354, allocations: 0.8125 kB / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005364, allocations: 0 / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.005422, allocations: 28.8 kB / 0.7805 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005426, allocations: 3.938 kB / 0.7805 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.108e-05/0.005437, allocations: 0.5625 kB / 0.7805 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.005443, allocations: 8 kB / 0.7805 GB, free: 0.5938 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.436e-05/0.005488, allocations: 110.5 kB / 0.7806 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.005497, allocations: 17.14 kB / 0.7806 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.005586, allocations: 73.73 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005587, allocations: 0 / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005589, allocations: 1.469 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.005594, allocations: 7.938 kB / 0.7807 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.005773, allocations: 214.8 kB / 0.7809 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005774, allocations: 0 / 0.7809 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.005831, allocations: 28.73 kB / 0.7809 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005832, allocations: 0 / 0.7809 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.005838, allocations: 5.062 kB / 0.7809 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.00584, allocations: 7.938 kB / 0.7809 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.005842, allocations: 3.938 kB / 0.7809 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.00597, allocations: 180 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.005976, allocations: 4.922 kB / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.005985, allocations: 0 / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.006022, allocations: 4 kB / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.006046, allocations: 20.95 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006051, allocations: 0 / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.233e-06/0.006058, allocations: 5.984 kB / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006058, allocations: 7.844 kB / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001452/0.006204, allocations: 39.81 kB / 0.7812 GB, free: 15.83 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.0001417/0.006345, allocations: 113.8 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.006425, allocations: 48.78 kB / 0.7813 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.006428, allocations: 1.469 kB / 0.7813 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.006449, allocations: 28.78 kB / 0.7813 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.00655, allocations: 8 kB / 0.7814 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.006997, allocations: 234 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.007032, allocations: 63.34 kB / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.007061, allocations: 10.89 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.007105, allocations: 63.36 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.007106, allocations: 0 / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.00243/0.009536, allocations: 1.067 MB / 0.7828 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 -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.796130858361721]